[FUGSPBR] Surra no Ldap

Henrique analistax em pop.com.br
Ter Jan 28 16:48:49 BRST 2003


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



_______________________________________________________________
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