mirror of
https://github.com/vegardit/docker-openldap.git
synced 2026-04-10 16:39:07 +02:00
Rename default ldapadmins group to ldap-admins
This commit is contained in:
parent
8405289510
commit
6b292a3c4c
|
|
@ -41,7 +41,7 @@ ### <a name="initial-config"></a>Initial configuration
|
|||
```sh
|
||||
LDAP_INIT_ORG_DN='dc=example,dc=com'
|
||||
LDAP_INIT_ORG_NAME='Example Corporation'
|
||||
LDAP_INIT_ADMIN_GROUP_DN='cn=ldapadmins,ou=Groups,${LDAP_INIT_ORG_DN}'
|
||||
LDAP_INIT_ADMIN_GROUP_DN='cn=ldap-admins,ou=Groups,${LDAP_INIT_ORG_DN}'
|
||||
LDAP_INIT_ROOT_USER_DN='uid=admin,${LDAP_INIT_ORG_DN}'
|
||||
LDAP_INIT_ROOT_USER_PW='changeit'
|
||||
LDAP_INIT_RFC2307BIS_SCHEMA=0 # 0=use NIS (RFC2307) schema, 1=use RFC2307bis schema
|
||||
|
|
|
|||
|
|
@ -58,11 +58,11 @@ userPassword: CHANGE@it
|
|||
##############################
|
||||
# Groups
|
||||
##############################
|
||||
dn: cn=ldapadmins,ou=Groups,${LDAP_INIT_ORG_DN}
|
||||
dn: cn=ldap-admins,ou=Groups,${LDAP_INIT_ORG_DN}
|
||||
ou: Groups
|
||||
description: LDAP Administrators Group
|
||||
objectClass: top
|
||||
objectClass: groupOfUniqueNames
|
||||
cn: ldapadmins
|
||||
cn: ldap-admins
|
||||
uniqueMember: uid=alice,ou=Employees,ou=Users,${LDAP_INIT_ORG_DN}
|
||||
uniqueMember: uid=bob,ou=Employees,ou=Users,${LDAP_INIT_ORG_DN}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
LDAP_INIT_ORG_DN=o=yourorg
|
||||
LDAP_INIT_ORG_NAME=Example Inc
|
||||
#LDAP_INIT_ADMIN_GROUP_DN=cn=ldapadmins,ou=Groups,o=yourorg
|
||||
#LDAP_INIT_ADMIN_GROUP_DN=cn=ldap-admins,ou=Groups,o=yourorg
|
||||
#LDAP_INIT_ROOT_USER_DN=uid=admin,o=yourorg
|
||||
LDAP_INIT_ROOT_USER_PW=password
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ ENV \
|
|||
#
|
||||
LDAP_INIT_ORG_DN='o=example.com' \
|
||||
LDAP_INIT_ORG_NAME='Example Corporation' \
|
||||
LDAP_INIT_ADMIN_GROUP_DN='cn=ldapadmins,ou=Groups,${LDAP_INIT_ORG_DN}' \
|
||||
LDAP_INIT_ADMIN_GROUP_DN='cn=ldap-admins,ou=Groups,${LDAP_INIT_ORG_DN}' \
|
||||
LDAP_INIT_ROOT_USER_DN='uid=admin,${LDAP_INIT_ORG_DN}' \
|
||||
LDAP_INIT_ROOT_USER_PW='' \
|
||||
LDAP_INIT_ALLOW_CONFIG_ACCESS='false' \
|
||||
|
|
|
|||
|
|
@ -62,11 +62,11 @@ userPassword: changeit
|
|||
##############################
|
||||
# Groups
|
||||
##############################
|
||||
dn: cn=ldapadmins,ou=Groups,${LDAP_INIT_ORG_DN}
|
||||
dn: cn=ldap-admins,ou=Groups,${LDAP_INIT_ORG_DN}
|
||||
ou: Groups
|
||||
objectClass: top
|
||||
objectClass: groupOfUniqueNames
|
||||
cn: ldapadmins
|
||||
cn: ldap-admins
|
||||
description: Ldap Admin Group
|
||||
uniqueMember: uid=employee1,ou=External,ou=Users,${LDAP_INIT_ORG_DN}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue