Archived
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2771210313 | ||
|
|
9964ef4491 | ||
|
|
c0aef5c88e | ||
|
|
a377d17e5a | ||
|
|
7eae1e4547 | ||
|
|
17a6c73799 | ||
|
|
b7459175e1 | ||
|
|
b68b62a130 | ||
|
|
4ecd6c7ba7 | ||
|
|
1546818b81 | ||
|
|
6fd179601b | ||
|
|
13b7a0624e | ||
|
|
fe18497e16 | ||
|
|
8e9be9c75b | ||
|
|
db173a2dc9 | ||
|
|
899389b581 | ||
|
|
62defdfd95 | ||
|
|
a07ed80902 |
No files matched your search
+2
-2
@@ -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
|
||||||
|
|||||||
File renamed without changes.
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
@@ -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 )
|
||||||
@@ -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,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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user