Results 1 to 4 of 4

Thread: deleting ldap entry

  1. #1
    Join Date
    Jun 2008
    Location
    Managua, Nicaragua
    Posts
    417

    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

  2. #2
    Join Date
    Jun 2008
    Location
    Schenectady, NY
    Posts
    138

    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.

  3. #3
    Join Date
    Jun 2008
    Location
    Managua, Nicaragua
    Posts
    417

    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

  4. #4
    Join Date
    Oct 2008
    Location
    Manchester
    Posts
    128

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •