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

Cleber Paiva de Souza cleberps at gmail.com
Mon Feb 11 14:26:07 -03 2008


Como a própria mensagem de erro diz, falta especificar o arquivo de
pid para o processo. Utilize algo como

pidfile		/var/run/slapd.pid

dentro do seu slapd.conf.


On Feb 11, 2008 12:04 PM, patrick <patrick_rsl at yahoo.com.br> wrote:
> 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
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>



-- 
***
Cleber Paiva de Souza


More information about the masoch-l mailing list