18 Commits
10 changed files with 27 additions and 12 deletions

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
FROM osixia/baseimage:0.5.0 FROM osixia/baseimage:0.6.0
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.fr> MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.fr>
# From Nick Stenning's work # From Nick Stenning's work
@@ -27,7 +27,7 @@ CMD ["/sbin/my_init"]
RUN apt-get -y update RUN apt-get -y update
# Install openldap (slapd) and ldap-utils # Install openldap (slapd) and ldap-utils
RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y slapd ldap-utils openssl RUN LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends slapd ldap-utils openssl
# Expose ldap default port # Expose ldap default port
EXPOSE 389 EXPOSE 389
View File
File renamed without changes.
+3 -3
View File
@@ -1,5 +1,5 @@
NAME = osixia/openldap NAME = nikolaik/openldap
VERSION = 0.8.0 VERSION = 0.9.2
.PHONY: all build test tag_latest release .PHONY: all build test tag_latest release
@@ -9,7 +9,7 @@ build:
docker.io build -t $(NAME):$(VERSION) --rm . docker.io build -t $(NAME):$(VERSION) --rm .
test: test:
env NAME=$(NAME) VERSION=$(VERSION) ./test.sh env NAME=$(NAME) VERSION=$(VERSION) ./test.sh debug
tag_latest: tag_latest:
docker.io tag $(NAME):$(VERSION) $(NAME):latest docker.io tag $(NAME):$(VERSION) $(NAME):latest
+1 -1
View File
@@ -28,6 +28,6 @@ and optionaly `dhparam.pem` this file is genereted automaticaly if not present.
-v /data/ldap/log/:/var/log \ -v /data/ldap/log/:/var/log \
-e LDAP_DOMAIN=example.com \ -e LDAP_DOMAIN=example.com \
-e LDAP_ORGANISATION="Example Corp." \ -e LDAP_ORGANISATION="Example Corp." \
-e LDAP_ROOTPASS=toor \ -e LDAP_ADMIN_PWD=toor \
-p 389:389 -d osixia/openldap -p 389:389 -d osixia/openldap
+12
View File
@@ -0,0 +1,12 @@
dn: cn=autofs,cn=schema,cn=config
changetype: add
objectClass: olcSchemaConfig
cn: autofs
olcAttributeTypes: {0}( 1.3.6.1.1.1.1.25 NAME 'automountInformation' DESC 'Inf
ormation used by the autofs automounter' EQUALITY caseExactIA5Match SYNTAX 1.
3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
olcObjectClasses: {0}( 1.3.6.1.1.1.1.13 NAME 'automount' DESC 'An entry in an
automounter map' SUP top STRUCTURAL MUST ( cn $ automountInformation $ object
class ) MAY description )
olcObjectClasses: {1}( 1.3.6.1.4.1.2312.4.2.2 NAME 'automountMap' DESC 'An gro
up of related automount objects' SUP top STRUCTURAL MUST ou )
+2 -3
View File
@@ -85,6 +85,5 @@ fi
status "starting slapd on default port 389" status "starting slapd on default port 389"
set -x set -x
#with debug:
#exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap -d -1 exec /usr/sbin/slapd -h "ldap:/// ldapi:///" -u openldap -g openldap -d -1
exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap
+1 -1
View File
@@ -1,4 +1,4 @@
testImage=osixia/openldap:latest testImage=nikolaik/openldap:latest
testContainer=openldap-repository-test-container testContainer=openldap-repository-test-container
testDir=/osixia-repository-test-docker-openldap testDir=/osixia-repository-test-docker-openldap
+2
View File
@@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
rm -rf $testDir
./test/tools/delete-container.sh ./test/tools/delete-container.sh
./test/tools/delete-image.sh > /dev/null 2>&1 ./test/tools/delete-image.sh > /dev/null 2>&1
+2
View File
@@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
mkdir -p $testDir
dir=$(dirname $0) dir=$(dirname $0)
$dir/delete-container.sh $dir/delete-container.sh
$dir/delete-image.sh $dir/delete-image.sh
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
echo "docker.io run --name $testContainer $runOptions -d $testImage" echo "docker.io run --name $testContainer $runOptions -d $testImage $runCommand"
ID=`docker.io run --name $testContainer $runOptions -d $testImage` ID=`docker.io run --name $testContainer $runOptions -d $testImage $runCommand`
sleep 10 sleep 10
echo " --> Obtaining IP" echo " --> Obtaining IP"