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

searching problem



Hello!

   I'm using LDAP the last 6 months without problems, but now I have one :-)

All users are at: ou=people,dc=palermo,dc=edu

Then... when I do that [I deleted some lines with personal information,
objectclasses and password]

[root@sinclair migracion_progress]# ldapsearch -x -D
"cn=Manager,dc=palermo,dc=edu" -W uid=fcuell
Enter LDAP Password:
version: 2

#
# filter: uid=fcuell
# requesting: ALL
#

# fcuell, people, palermo, edu
dn: uid=fcuell,ou=people,dc=palermo,dc=edu
uid: fcuell
sn: Cuello
givenName: Felix

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

==============================================================

But, when I try this search:

[root@sinclair migracion_progress]# ldapsearch -x -D
"cn=Manager,dc=palermo,dc=edu" -W uid=marball
Enter LDAP Password:
version: 2

#
# filter: uid=marball
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1


then I could think that marball user doesn't exists.... but when I try to
add a user in this dn:

dn: uid=marball,ou=people,dc=palermo,dc=edu

I receive this error:

dn: uid=maball,ou=people,dc=palermo,dc=edu
Enter LDAP Password:
ldap_add: Already exists
ldif_record() = 68


What's wrong?... I mean that this error is my mistake... but really I
don't know where can I find it...

Thanks a lot, and please forgive my VERY poor english :-)


                                         - Felix