- 论坛徽章:
- 0
|
/etc/init.d/ldap restart
Stopping slapd: [ OK ]
Checking configuration files for slapd: WARNING: No dynamic config support for database sql.
config file testing succeeded
[ OK ]
Starting slapd:
slapd.conf
-----------------------------
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/postfix.schema
include /etc/openldap/schema/mail.schema
include /etc/openldap/schema/domain.schema
#pidfile /var/run/slapd.pid
#argsfile /var/run/slapd.args
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
allow bind_v2
modulepath /usr/lib64/openldap
moduleload back_sql.la
database sql
suffix "******"
rootdn ******"
rootpw *******
dbname ****
dbuser ****
dbpasswd "******"
subtree_cond "ldap_entries.dn LIKE CONCAT('%',?)"
insentry_query "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval) VALUES (?,?,?,?)"
has_ldapinfo_dn_ru no
##20101125 sp##
threads 32
concurrency 350
cachesize 40000
dbcachesize 1000000
idlcachesize 200000
idletimeout 30
#access to *
# by dn="cn=root,c=ne,c=jp" write
# by * read
access to dn.subtree="c=ne,c=jp" attrs=userPassword,clearPassword
by self write
by anonymous auth
by * none
access to *
by self write
by * read
----------------------------- |
|