Запуск ldap сервера
Добавлено: 2008-10-09 16:31:11
Имеет такой конфиг
Заускаю
После запуска в логе вижу следующее
# cat /var/log/messages
откуда он берет sql?
Код: Выделить всё
# cat slapd.conf | grep -v ^# | grep -v ^$
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/openldap.schema
include /etc/openldap/schema/nis.schema
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
modulepath /usr/lib/openldap
moduleload back_bdb.la
access to attrs=userPassword
by self write
by anonymous auth
by * none
access to *
by self write
by anonymous read
by * none
database bdb
suffix "dc=domain,dc=local"
rootdn "cn=root,dc=domain,dc=local"
rootpw {SSHA}LSEjYkkG1SwKAVEI0I1vdEocPxkRJxR8
directory /var/lib/ldap
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Код: Выделить всё
# service ldap start
Checking configuration files for slapd: config file testing succeeded
[ OK ]
Starting slapd: [ OK ]# cat /var/log/messages
Код: Выделить всё
Sep 28 01:15:53 centos5 slaptest: sql_select option missing
Sep 28 01:15:53 centos5 slaptest: auxpropfunc error no mechanism available
Sep 28 01:15:53 centos5 slapd[20552]: sql_select option missing
Sep 28 01:15:53 centos5 slapd[20552]: auxpropfunc error no mechanism available