[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldapsearch: no results

Oh¡ my slapd.conf file:
include  /usr/local/etc/openldap/schema/core.schema
include  /usr/local/etc/openldap/schema/cosine.schema
include  /usr/local/etc/openldap/schema/nis.schema

pidfile  /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args

database ldbm
suffix  "dc=example,dc=com"

rootdn  "cn=Manager,dc=example,dc=com"
rootpw  secret

directory /usr/local/var/openldap-ldbm

index objectClass eq

access to attr=userpassword
 by self write
 by dn="cn=Manager,dc=example,dc=com" write
 by * write

Arturo Peris wrote:

> I'm trying to show results with ldapsearch but I don't get nothing (nor
> errors).
> I have openldap 2.0.11-8 on a RH7.1(Seawolf).
> First I have done a successful ldapadd and with slapcat I show the
> correct values.
> But with ldapsearch I get nothing.
> What's happening ?
> Thanks.