Hello Linux Guru's and Able Ones,
Can anybody help me on my problem on our LDAP Server?
1st we entry mail users on phonebook address with the LDAP server
with this command:
[root@ldaperver root]# vi /usr/local/etc/openldap/entry.ldif
Then this screen will appear:
(sample entry on the name Juan A. Dela Cruz)
dn: cn=Juan A. Dela Cruz,o=abook
mail:
jadelacruz@erbil.com.ph
objectclass: top
objectclass: person
objectclass: inetOrgPerson
givenname: Juan
sn: Dela Cruz
cn: Juan A. Dela Cuz
~
~
When we finished on the entry of this with the command:
:wq!
The screen will be back again on the console / terminal and we input
this command:
[root@ldapserver root]# ldapadd -H ldap://ldapserver -x -D "cn=root,o=abook" -f entry.ldif -W
After this long command it will ask for the LDAP password
Enter LDAP Password:
Then this line will appear
adding new entry "cn=Juan A. Dela Cruz,o=abook"
After this we can browse the auto-generate name on netscape and mozilla
mail.
THE QUESTION IS: Then how can I delete this entry
SAMPLE: If I want to delete Juan A. Dela Cruz entry
Please help me
thanks