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

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
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
-----Ursprüngliche Nachricht-----
Von: Diego Gallego Pérez [mailto:dgp245@tid.es]
Gesendet: Dienstag, 7. Mai 2002 15:17
An: OpenLDAP-software@OpenLDAP.org
Betreff: Still with the initial namingContexts: dc=my-domain,dc=com

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:
namingContexts: dc=my-domain,dc=com
What am I doing wrong?,
Thanks in advance,