Results 1 to 7 of 7

Thread: How to purge slapd on ubuntu 10.0.4 ?

  1. #1
    Join Date
    Nov 2011
    Beans
    6

    How to purge slapd on ubuntu 10.0.4 ?

    I'm trying to configure a PDC ldap server with samba following this tuto http://tuxnetworks.blogspot.com/2010...cid-short.html So after entering :

    sudo ldapadd -Y EXTERNAL -H ldapi:/// -f backend.ldif
    i want to completely remove the slapd installation because i got some errors in the backend.ldif loaded file so i did :


    sudo apt-get purge slapd ldap-utils libpam-smbpass smbldap-tools

    sudo rm -rf /var/lib/ldap/*

    sudo apt-get install slapd ldap-utils libpam-smbpass smbldap-tools
    sudo ldapadd -Y EXTERNAL -H ldapi:/// -f backend.ldif
    but i have the same error
    ldap_add: Other (e.g., implementation specific) error (80)

    PLEASE HELP !!!!!!

  2. #2
    Join Date
    May 2012
    Beans
    122

    Re: How to purge slapd on ubuntu 10.0.4 ?

    Try:

    $sudo apt-get --purge remove slapd

  3. #3
    Join Date
    Nov 2011
    Beans
    6

    Re: How to purge slapd on ubuntu 10.0.4 ?

    i have try
    $sudo apt-get --purge remove slapd
    sudo apt-get install slapd ldap-utils libpam-smbpass smbldap-tools
    sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif
    and still having errors like

    SASL/EXTERNAL authentication started
    SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn =auth
    SASL SSF: 0
    adding new entry "cn=inetorgperson,cn=schema,cn=config"
    ldap_add: Other (e.g., implementation specific) error (80)
    additional info: olcObjectClasses: AttributeType not found: "audio"

    it seems there was a bug report in https://bugs.launchpad.net/ubuntu/+s...ap/+bug/583372
    i have also try
    sudo dpkg-reconfigure slapd

  4. #4
    Join Date
    May 2012
    Beans
    122

    Re: How to purge slapd on ubuntu 10.0.4 ?

    That might be a problem with the contents of the ldif file(s) themselves.

  5. #5
    Join Date
    Nov 2011
    Beans
    6

    Re: How to purge slapd on ubuntu 10.0.4 ?

    OK. So I will format the disk and retry with a fresh install

  6. #6
    Join Date
    May 2012
    Beans
    122

    Re: How to purge slapd on ubuntu 10.0.4 ?

    Shame to have to do a complete install.

    I used https://help.ubuntu.com/11.10/server...ap-server.html

    which is different from your version, so I never had to use

    sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif

    I never had an install problem following the guide. If you are going to do a new install, upgrade everything.

  7. #7
    Join Date
    Nov 2011
    Beans
    6

    Re: How to purge slapd on ubuntu 10.0.4 ?

    OK thanks . i will try your link . hope i will work correctly on my 10.04

Bookmarks

Posting Permissions

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