LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-04-2005, 07:40 PM   #1
blink_00
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.2 OpenExchange 4.1 United Linux
Posts: 13

Rep: Reputation: 0
deleting LDAP user...password?


I need to delete a user from SLOX. I have deleted them from Suse but I get an error when trying to re-add them again ( somehow the uid is bad/corrupt whatever) . LDAP is telling me they still exist unable to create blah blah.
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?

Is there a place to edit the ldap file to remove them ? I just want to clean it up so I can re-add them. The challenge came when I discovered that the user in SUse must be the same as the SLOX. I think I added the SLOX user 1st ....anyway its all gummed up. Any help is appreciated!!
 
Old 01-31-2005, 11:23 AM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
hi...sometimes console commands can lead to considerable hair pulling...

why dont u install a GUI ldap client 'GQ'...and then delete your user just with a right click ? its easy and works just as fine...get a rpm for 'gq' and ldap server modifications will become easier...

try this and good luck

--amit
 
Old 02-13-2005, 01:09 PM   #3
blink_00
LQ Newbie
 
Registered: Oct 2004
Distribution: Suse 9.2 OpenExchange 4.1 United Linux
Posts: 13

Original Poster
Rep: Reputation: 0
Hey amit ...thanks for the help. I got GQ going but when I right click and choose 'delete' I get the msg
Code:
Error deleting entry
                    uid=herman,dc=capital,dc=com: Strong(er) authentication required
Any ideas what this is all about?
 
Old 02-21-2005, 11:24 AM   #4
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 04:49 AM
sync ldap and samba password with ldappasswd paul_mat Linux - Networking 2 11-21-2005 10:55 PM
password change over LDAP works only if TLS is disabled cyrilrip Linux - General 2 06-02-2005 01:26 AM
deleting a user joe k Linux - General 3 12-08-2004 06:31 AM
change password at slave ldap u4113072 Linux - Software 0 11-12-2002 02:50 AM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration