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

RE: Still with the initial namingContexts: dc=my-domain,dc=com



Is it that before all there's the first step?,
 
ldapsearch -x -D 'cn=Manager,o=SIU' -w secret
 
What do you mean with than you must become all entries of your DIT?
 
Anyway, if I exec ldapsearch -x -D 'cn=Manager,o=SIU' -w secret I get :
 
ldap_bind: Invalid credentials
 
I'm working with Solaris, and OpenLdap 2.0.23, do I need a patch?
 
Thanks for all,
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
-----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

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,