openSUSE Forums > Network/Internet » deleting ldap entry

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-Oct-2009, 16:38
Easgs's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 157
Easgs hasn't been rated much yet
Default deleting ldap entry

I want to delete an ldap entry, that was a machine that doesn`t exist in the domain any more, the DN in uid=SIENIC-01$,ou=Machines,dc=sienic,dc=local

I have deleted the account from yast-users and using the command pdbedit -x SIENIC-01$ but it is still present in the ldap DIT, I can see it with the ldap browser.


I was trying with the ldapdelete command but I am a little confuse with its use.


thanks
Reply With Quote
  #2 (permalink)  
Old 18-Oct-2009, 18:23
kdemello's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Schenectady, NY
Posts: 82
kdemello hasn't been rated much yet
Default Re: deleting ldap entry

Many of the options to ldapdelete have to do with how you bind to the directory. Posting that here would be dangerous, so I highly recommend reading the man page for ldapdelete to get a feel for what the options do.

The commandline ldap* utilities are cumbersome for most simple operations, a gui is much nicer (except for bulk stuff). I've found luma to be one of the better ones.
Reply With Quote
  #3 (permalink)  
Old 19-Oct-2009, 09:44
Easgs's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 157
Easgs hasn't been rated much yet
Default Re: deleting ldap entry

No problem about security, this is a virtual test network, all the names and configurations are fictitious, I am learning how to do all this, this command did the trick.

ldapdelete -x -D "cn=administrator,dc=sienic,dc=local" -W "uid=SIENIC-01$,ou=Machines,dc=sienic,dc=local"
Enter LDAP Password:


I will check Luma to see how it works.


Thanks
Reply With Quote
  #4 (permalink)  
Old 19-Oct-2009, 15:48
tuxituk's Avatar
Explorer Penguin
 
Join Date: Oct 2008
Location: Manchester
Posts: 121
tuxituk hasn't been rated much yet
Talking Re: deleting ldap entry

Quote:
Originally Posted by Easgs View Post
No problem about security, this is a virtual test network, all the names and configurations are fictitious, I am learning how to do all this, this command did the trick.

ldapdelete -x -D "cn=administrator,dc=sienic,dc=local" -W "uid=SIENIC-01$,ou=Machines,dc=sienic,dc=local"
Enter LDAP Password:


I will check Luma to see how it works.


Thanks
Check out Apache Directory Studio,excellent LDAP utility. Made my life so much easier!

hth
J
__________________
Linux# makes_a_network_feel_good.sh

Linux and BSD solutions
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2