mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
better default configuration and content in test ldap
This commit is contained in:
parent
fa967431f5
commit
af0ac631cb
@ -67,13 +67,13 @@ roles.file = '/etc/ldapcherry/roles.yml'
|
|||||||
[backends]
|
[backends]
|
||||||
|
|
||||||
ldap.module = 'ldapcherry.backend.backendLdap'
|
ldap.module = 'ldapcherry.backend.backendLdap'
|
||||||
ldap.groupdn = 'ou=groups,dc=example,dc=com'
|
ldap.groupdn = 'ou=groups,dc=example,dc=org'
|
||||||
ldap.userdn = 'ou=people,dc=example,dc=com'
|
ldap.userdn = 'ou=people,dc=example,dc=org'
|
||||||
ldap.binddn = 'cn=ldapcherry,dc=example,dc=com'
|
ldap.binddn = 'cn=ldapcherry,dc=example,dc=org'
|
||||||
ldap.password = 'password'
|
ldap.password = 'password'
|
||||||
ldap.uri = 'ldaps://ldap.ldapcherry.org'
|
ldap.uri = 'ldaps://ldap.ldapcherry.org'
|
||||||
ldap.ca = '/etc/dnscherry/TEST-cacert.pem'
|
ldap.ca = '/etc/dnscherry/TEST-cacert.pem'
|
||||||
ldap.starttls = 'on'
|
ldap.starttls = 'off'
|
||||||
ldap.checkcert = 'off'
|
ldap.checkcert = 'off'
|
||||||
ldap.user_filter_tmpl = '(uid=%(username)s)'
|
ldap.user_filter_tmpl = '(uid=%(username)s)'
|
||||||
ldap.group_filter_tmpl = '(member=%(username)s)'
|
ldap.group_filter_tmpl = '(member=%(username)s)'
|
||||||
|
@ -10,6 +10,13 @@ cn: dnscherry
|
|||||||
description: [applicative account]
|
description: [applicative account]
|
||||||
userPassword: password
|
userPassword: password
|
||||||
|
|
||||||
|
dn: cn=ldapcherry,dc=example,dc=org
|
||||||
|
objectClass: simpleSecurityObject
|
||||||
|
objectClass: organizationalRole
|
||||||
|
cn: ldapcherry
|
||||||
|
description: [applicative account]
|
||||||
|
userPassword: password
|
||||||
|
|
||||||
dn: ou=People,dc=example,dc=org
|
dn: ou=People,dc=example,dc=org
|
||||||
ou: People
|
ou: People
|
||||||
objectClass: top
|
objectClass: top
|
||||||
|
@ -8,6 +8,7 @@ olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymou
|
|||||||
s auth by dn="cn=admin,dc=example,dc=org" write by * none
|
s auth by dn="cn=admin,dc=example,dc=org" write by * none
|
||||||
olcAccess: {1}to dn.base="" by * read
|
olcAccess: {1}to dn.base="" by * read
|
||||||
olcAccess: {2}to * by self write by dn="cn=dnscherry,dc=example,dc=org" write by * read
|
olcAccess: {2}to * by self write by dn="cn=dnscherry,dc=example,dc=org" write by * read
|
||||||
|
olcAccess: {3}to * by self write by dn="cn=ldapcherry,dc=example,dc=org" write by * read
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcRootDN: cn=admin,dc=example,dc=org
|
olcRootDN: cn=admin,dc=example,dc=org
|
||||||
olcRootPW: {SSHA}Fp+rSxe5eFsj0DGITJts4DwdSDFDZG9P
|
olcRootPW: {SSHA}Fp+rSxe5eFsj0DGITJts4DwdSDFDZG9P
|
||||||
|
Loading…
Reference in New Issue
Block a user