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

ldap_search: no such object



Hi,

I am in severe need of help with OpenLDAP.  I am running red hat linux
6.0 with the latest download of OpenLDAP (I had to configuer and compile it
too).

I am having the following problems:

   My slapd.conf:

               directory /var/ldap
               suffix "ou=People,dc=padl,dc=com"
               rootdn  "cn=root, dc=padl, dc=com"

I used the "kill -9 pid"   (pid from "ps ax | grep -i slapd | grep -vgrep")
and "slapd &" to restart

I can view my db (in ldif) format with ldbmcat

To test my db, I use:
                     ldapsearch  'dc=*'         (and zillions of other
variations)
         or         ldapsearch -h my_server -b ou=People,dc=padl,dc=com "uid=*"

I get back: "ldap_search: no such object"

The only function I can get to work in ldbmtest is the "B" function
(tells me "ou=People,dc=padl,dc=com" in caps)

I can not figure out what the "binddn" is suppose to be in "ldapadd -D
binddn" either.

This is all very frustrating!

What am I missing?

I really appreciate your help.
Many thanks,
--Tony
aewell@sierra.net


source ldif (only the first 4):

dn: uid=tony,ou=People,dc=padl,dc=com
uid: tony
cn: Anthony Ewell
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$PwjxTBT/$9cliQg9NZbXbhGleqr93/1
shadowLastChange: 10758
shadowMax: 99999
shadowFlag: 135443796
loginShell: /bin/bash
uidNumber: 500
gidNumber: 0
homeDirectory: /export/tony
gecos: Anthony Ewell

dn: uid=tdona,ou=People,dc=padl,dc=com
uid: tdona
cn: Thomas Donaldson
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$0QQPXFot$./3HUHh8TlZdQ8dOJp4FI/
shadowLastChange: 10758
shadowMax: 99999
shadowFlag: 135405220
loginShell: /bin/bash
uidNumber: 501
gidNumber: 100
homeDirectory: /export/tdona
gecos: Thomas Donaldson

dn: uid=mjudg,ou=People,dc=padl,dc=com
uid: mjudg
cn: Margaret Judge
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$8ntfdGB9$dQXMmdvoP65QAsm57NzC5.
shadowLastChange: 10768
shadowMax: 99999
shadowFlag: 135506460
loginShell: /bin/bash
uidNumber: 502
gidNumber: 100
homeDirectory: /export/mjudg
gecos: Margaret Judge

dn: uid=fflah,ou=People,dc=padl,dc=com
uid: fflah
cn: Frank Flaherty
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$c4gqcZ5H$ETwz8mqh541.Kn0afqtm41
shadowLastChange: 10768
shadowMin: -1
shadowMax: 99999
shadowWarning: -1
shadowInactive: -1
shadowExpire: -1
shadowFlag: 135514436
loginShell: /bin/bash
uidNumber: 503
gidNumber: 100
homeDirectory: /export/fflah
gecos: Frank Flaherty