phpldapadmin/doc/phpldapadmin-demo.conf

105 lines
2.7 KiB
Plaintext
Raw Normal View History

include /etc/openldap/schema/uidpool.schema
2010-03-11 06:46:03 +00:00
include /etc/openldap/schema/sudo.schema
include /etc/openldap/schema/autofs.schema
2009-06-30 10:46:00 +00:00
TLSCACertificateFile /etc/openldap/pla/ca-bundle.crt
TLSCertificateFile /etc/openldap/pla/slapd.crt
TLSCertificateKeyFile /etc/openldap/pla/slapd.key
access to dn.regex="o=Simpsons$" attrs=userpassword
by anonymous auth
by self write
by * none
access to dn.base="" by * read
2009-06-30 10:46:00 +00:00
access to dn.regex="dc=example.com$"
2011-04-26 11:41:44 +00:00
by dn.regex="o=Flintstones$" none
by dn.regex="o=Simpsons$" none
2009-06-30 10:46:00 +00:00
by * write
access to dn.regex="dc=example,dc=com$"
2011-04-26 11:41:44 +00:00
by dn.regex="o=Flintstones$" none
by dn.regex="o=Simpsons$" none
2009-06-30 10:46:00 +00:00
by * write
2011-04-26 11:41:44 +00:00
access to dn.regex="o=Flintstones$"
by dn.regex="o=Simpsons$" none
by self write
by dn.regex="cn=.*,ou=People,o=Flintstones" write
by * read
2009-06-30 10:46:00 +00:00
access to dn.regex="o=Simpsons$"
2011-04-26 11:41:44 +00:00
by dn.regex="o=Flintstones$" none
2009-06-30 10:46:00 +00:00
by self write
2011-04-26 11:41:44 +00:00
by dn.regex="cn=.*,ou=People,o=Simpsons" write
2009-06-30 10:46:00 +00:00
by * read
access to *
by * read
authz-policy any
2010-03-11 06:46:03 +00:00
database ldbm
2009-06-30 10:46:00 +00:00
suffix "dc=example.com"
rootdn "cn=Manager,dc=example.com"
rootpw NotAllowed
2011-04-26 11:41:44 +00:00
directory /var/lib/ldap/base-example.com
2009-06-30 10:46:00 +00:00
dirtyread
cachesize 2000
checkpoint 32 1
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
2010-03-11 06:46:03 +00:00
database ldbm
2009-06-30 10:46:00 +00:00
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw NotAllowed
2011-04-26 11:41:44 +00:00
directory /var/lib/ldap/base-example-com
2009-06-30 10:46:00 +00:00
dirtyread
cachesize 2000
checkpoint 32 1
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
2010-03-11 06:46:03 +00:00
database ldbm
2009-06-30 10:46:00 +00:00
suffix "o=Simpsons"
rootdn "cn=Manager,o=Simpsons"
rootpw NotAllowed
2011-04-26 11:41:44 +00:00
directory /var/lib/ldap/base-simpsons
dirtyread
cachesize 2000
checkpoint 32 1
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
database bdb
suffix "o=Flintstones"
rootdn "cn=Manager,o=Flintstones"
rootpw NotAllowed
directory /var/lib/ldap/base-flintstones
2009-06-30 10:46:00 +00:00
dirtyread
cachesize 2000
checkpoint 32 1
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
database monitor
access to * by * read
database config
access to * by * read
rootdn cn=admin,cn=config
rootpw password