Страница 1 из 1

Запуск ldap сервера

Добавлено: 2008-10-09 16:31:11
Alex_hha
Имеет такой конфиг

Код: Выделить всё

# 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
откуда он берет sql?

Re: Запуск ldap сервера

Добавлено: 2008-10-29 22:10:57
Alex Keda
а собран с поддержкой чего?

Re: Запуск ldap сервера

Добавлено: 2008-10-30 10:47:11
Hrafn