[FUGSPBR] Surra no Ldap

Henrique analistax em pop.com.br
Qua Jan 29 10:01:42 BRST 2003


funcionou mas me dei mal, essa documentacao é antiga e
as sintaxes estao diferentes agora.

Alguem usa SambaTNG + ldap ou Samba PDC + ldap



----- Original Message -----
From: "Luiz Henrique Duma" <duma em bsi.com.br>
To: <fugspbr em fugspbr.org>
Sent: Wednesday, January 29, 2003 8:10 AM
Subject: Re: [FUGSPBR] Surra no Ldap


> Henrique wrote:
> >
> > Seguindo os passos do http://www.mami.net/univr/tng-ldap/howto/ fui
> > instalandoo samba-tng com ldap
> > mas travei quando fui iniciar o ldap (v. 2.1.12 ) o erro é o seguinte:
> > $./slapd
> > /etc/openldap/slapd.conf: line 35: no indexes selected
> >
> > o meu slapd.conf é o seguinte:
> > QUALQUER AJUDA É BEM VINDA
> >
> > #
> > # See slapd.conf(5) for details on configuration options.
> > # This file should NOT be world readable.
> > #
> > #include  /etc/openldap/slapd.at.conf
> > #include  /etc/openldap/slapd.oc.conf
> > include  /etc/openldap/unix-schema
> > include  /etc/openldap/sambatng-schema
> > #schemacheck off
> > schemacheck on
> > #referral ldap://root.openldap.org/
> >
> > pidfile  /var/run/slapd.pid
> > argsfile /var/run/slapd.args
> >
> > #######################################################################
> > # ldbm database definitions
> > #######################################################################
> >
> > database ldbm
> > suffix  "o=SINI, c=BR"
> > rootdn  "cn=root, o=SINI, c=BR"
> > suffix  "dc=sci,dc=univr,dc=it"
> > rootdn  "uid=root,dc=sci,dc=univr,dc=it"
> > # cleartext passwords, especially for the rootdn, should
> > # be avoid.  See slapd.conf(5) for details.
> > #rootpw  secret
> > rootpw  teste
> > # database directory
> > # this directory MUST exist prior to running slapd AND
> > # should only be accessable by the slapd/tools  Mode 700 recommended.
> > directory /var/lib/ldap
> >
> > # begin importing #
> > index           cn,sn,uid,rid,opbjectclass,ntuid,groupid
> > index           uid,rid,objectclass,ntuid,grouprid eq
> > defaultaccess   read
> > access  to dn="dc=SINI,dc=br"
> >         by dn="uid=root,dc=SINI,dc=br"         write
> >         by self         write
> >  by *            read
> > # end importing #
> >
> > # The userPassword by default can be changed
> > # by the entry owning it if they are authenticated.
> > # Others should not be able to see it, except the
> > # admin entry below
> > access to attrs=userpassword,lmpassword,ntpassword
> >         by self write
> >         by dn="cn=root,dc=SINI,dc=br" write
> >         by * none
> Henrique,
>
>
> Adicione um eq no final da linha 35:
>
> nova linha 35> index           cn,sn,uid,rid,opbjectclass,ntuid,groupid
> eq
>
> Inteh mais,
>
> --
> Luiz Henrique Duma
> BSI Telecomunicacoes e Informatica S/A.
> http://www.bsi.com.br
> _______________________________________________________________
> Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>


_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd