[MASOCH-L] Problema na configuração ldap

patrick patrick_rsl at yahoo.com.br
Mon Feb 11 12:04:02 BRST 2008


Olá
Estou configurando pela primeira vez o ldap no debian, e quando executo 
ele aparece o seguinte erro:

The pidfile for slapd is neither specified in "/etc/ldap/slapd.conf" nor
in /etc/default/slapd. Consequently, slapd will not be started.

Aqui está minha config:


#/etc/ldap/slapd.conf

loglevel -1

include /etc/ldap/schema/core.schema include
/etc/ldap/schema/cosine.schema include
/etc/ldap/schema/inetorgperson.schema include
/etc/ldap/schema/nis.schema include
/etc/ldap/schema/ubi.schema

modulepath /usr/lib/ldap
moduleload back_bdb
moduleload back_ldap.so

pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
database "bdb"
sufix "o=patrick, c=com, c=br"
rootdn "cn=lroot, o=patrick, c=com, c=br"
rootpw senha
directory /var/lib/ldap

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

defaultaccess read

access to attr=userpassword
by self write
by anonymous auth
by dn.base="cn=lroot, dc=patrick, c=com, c=br"write
by * none
access to *
by * read


More information about the masoch-l mailing list