Sent: Tuesday, May 07, 2002 3:23 PM
Subject: AW: Still with the initial
namingContexts: dc=my-domain,dc=com
make
search with ldapsearch -x -D 'cn=Manager,o=SIU' -w secret
than
you must become all entries of your DIT
If
you want to search for attribute you can use
Filter
ldapsearch -x -D 'cn=Manager,o=SIU' -w secret "Here come the
Filter" and here you can place attribute that returned
example
ldapsearch -x -D 'cn=Manager,o=SIU' -w secret "(&(cn=Peter)(
objectclass=person))" cn sn userPassword
this
search would give you back cn, sn userPassword of the matched person
Hope
it will helps
regards
Ferruh
Hello,
I'm starting with OpenLDAP and followed the
Quick Start Guide, everything went Ok,
I've changed the slapd.conf to:
database
ldbm
suffix
"o=SIU"
rootdn
"cn=Manager,o=SIU"
# Cleartext passwords, especially for the rootdn,
should
# be avoid. See slappasswd(8) and slapd.conf(5) for
details.
# Use of strong authentication
encouraged.
rootpw
secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700
recommended.
directory
/export/home/prueba/PROXY_IPLANET/bin1/nsapi/pruebas/binopenldap/var/openldap-ldbm
#
Indices to maintain
index
MSISDN
pres,eq,sub
index objectClass
eq
And created a database with slapadd. It all
worked fine (I checked it with slapcat and the output equalled my
.ldif).
However, if I execute: ldapsearch -s base
'(objectclass=top)' namingContexts, I still get the initial:
dn:
namingContexts:
dc=my-domain,dc=com
What am I doing wrong?,
Thanks in advance,