Tarak Ranjan contacttrm@yahoo.co.in writes:
--- Tarak Ranjan contacttrm@yahoo.co.in wrote:
--- Tarak Ranjan contacttrm@yahoo.co.in wrote:
[root@mail ~]# ldapsearch -x -b 'ou=addressbook,dc=mail,dc=example,dc=com' '(objectclass=*)' # extended LDIF # # LDAPv3 # base <ou=addressbook,dc=mail,dc=example,dc=com> with scope subtree # filter: (objectclass=*) # requesting: ALL #
# addressbook, mail.example.com dn: ou=addressbook,dc=mail,dc=example,dc=com ou: addressbook objectClass: top objectClass: organizationalUnit
# Tarak, addressbook, mail.example.com dn: cn=Tarak,ou=addressbook,dc=mail,dc=example,dc=com cn: Tarak givenName: Tarak Ranjan sn: Mukherjee mail: tarak.ranjan@example.com objectClass: top objectClass: inetOrgPerson
# Amit, addressbook, mail.example.com dn: cn=Amit,ou=addressbook,dc=mail,dc=example,dc=com cn: Amit givenName: Amit sn: Sharda mail: amit@example.com objectClass: top objectClass: inetOrgPerson
# Anand, addressbook, mail.example.com dn: cn=Anand,ou=addressbook,dc=mail,dc=example,dc=com cn: Anand givenName: Anand sn: Adkoli mail: anand@example.com objectClass: top objectClass: inetOrgPerson
[...]
The problem is that , when i'm deleting the particular entry in LDAP, & after that when i logging in Webmail i m getting other addressbook entries.
but when i'm creating entry like
cn=John,cn=Tarak,ou=addressbook,dc=mail,dc=example,dc=com
the entry is coming twice, i have 33 entry & if i make sub entry for those 33 entries , it's horrible it showing 66 times the same entry..
pleas guide where i m wrong
I think your application is broken, but test first with ldap tools, either ldapsearch or slapcat, wether there are multiple entries in the database.
-Dieter