Minor slapd config changes
This commit is contained in:
parent
6c35c33abe
commit
058b9debef
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
rm -Rf build/openldap
|
rm -Rf build/openldap
|
||||||
mkdir -p build/openldap
|
mkdir -p build/openldap
|
||||||
/opt/local/libexec/slapd -h ldap://localhost:22389 -d -1 -f slapd.conf &
|
/usr/libexec/slapd -h ldap://localhost:22389 -d -1 -f slapd.conf &
|
||||||
sleep 2
|
sleep 3
|
||||||
ldapadd -h localhost -p 22389 -D cn=admin,dc=springsource,dc=com -w password -x -f openldaptest.ldif
|
ldapadd -h localhost -p 22389 -D cn=admin,dc=springsource,dc=com -w password -x -f openldaptest.ldif
|
|
@ -1,7 +1,7 @@
|
||||||
include /opt/local/etc/openldap/schema/core.schema
|
include /etc/openldap/schema/core.schema
|
||||||
include /opt/local/etc/openldap/schema/cosine.schema
|
include /etc/openldap/schema/cosine.schema
|
||||||
include /opt/local/etc/openldap/schema/inetorgperson.schema
|
include /etc/openldap/schema/inetorgperson.schema
|
||||||
include /opt/local/etc/openldap/schema/ppolicy.schema
|
include /etc/openldap/schema/ppolicy.schema
|
||||||
|
|
||||||
|
|
||||||
pidfile ./build/slapd.pid
|
pidfile ./build/slapd.pid
|
||||||
|
@ -14,8 +14,9 @@ modulepath /usr/lib/openldap/modules
|
||||||
# moduleload back_monitor.la
|
# moduleload back_monitor.la
|
||||||
# moduleload back_perl.la
|
# moduleload back_perl.la
|
||||||
|
|
||||||
#disallow bind_anon
|
#allow bind_anon
|
||||||
require authc
|
allow bind_v2 bind_anon_dn
|
||||||
|
#require authc
|
||||||
|
|
||||||
access to dn.base=""
|
access to dn.base=""
|
||||||
by * read
|
by * read
|
||||||
|
@ -39,7 +40,7 @@ access to attrs=userpassword
|
||||||
by anonymous =x
|
by anonymous =x
|
||||||
by * none
|
by * none
|
||||||
|
|
||||||
access to dn.subtree="ou=users,dc=qbe,dc=com"
|
access to dn.subtree="ou=users,dc=springsource,dc=com"
|
||||||
by self write
|
by self write
|
||||||
by * read
|
by * read
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue