Quote:
I have tried ldapdelete -W -D "cn=bob, dc=capital, dc=com" but I get ldap asking me for a password ....I have no idea what it is?! Is it the users password?, My admin password?
|
Yes, the password that's being asked is the password for 'cn=bob'...If you have set up ldap correctly, then this password would appear in the file slapd.conf as follows -
rootpw secret
I am also a beginner as far as ldap is concerned, however, I followed the 'idealx' documentation and use the 'idealx' smbldap scripts for manipulating ldap data. This is an excellent tutorial as far as setting up ldap, samba together is concerned. Take a cue here..
www.idealx.org/prj/samba/smbldap-howto.en.html
I downloaded the smbldap-tools-0.8.5.i386.rpm from the idealx site and deleting a user is just a child's play...The command for deleting a user above would be
smbldap-userdel -r <username>
Give this site a try and lets hope u succeed
Cheers
--amit