Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Setting up LDAP server

  1. #11
    Join Date
    Feb 2007
    Beans
    148

    Re: Setting up LDAP server

    I have the same (or close) problem,
    I was not asked for a password during the installation.

    When I follow your steps .. all fail.

    Step-1:

    Code:
    ls: cannot access /etc/ldap/schema/*.ldif: No such file or directory
    I have no files in there !!

    Step-2:

    Code:
    SASL/EXTERNAL authentication started
    SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
    SASL SSF: 0
    adding new entry "cn=module,cn=config"
    ldap_add: Other (e.g., implementation specific) error (80)
    	additional info: <olcModuleLoad> handler exited with 1
    I donno what's wrong with me !

    Step-3:

    has no meaning with the previous errors.

    Can you help me please?

  2. #12
    Join Date
    May 2005
    Location
    Vancouver, Canada
    Beans
    49
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Setting up LDAP server

    tarekeldeeb,

    For your first error, are you running Ubuntu 9.10 (Karmic Koala)? Are you sure that you successfully installed the packakges? Try running the following command to (re)install and then try Step 1 again:

    Code:
    sudo apt-get install slapd ldap-utils
    Your second error is already covered in the Troubleshooting section:

    ldap_add: Other (e.g., implementation specific) error (80)
    additional info: <olcModuleLoad> handler exited with 1

    You are trying to load the same module twice, e.g. you already ran ldapadd on db.ldif once and now you're doing it again.

  3. #13
    Join Date
    Feb 2007
    Beans
    148

    Re: Setting up LDAP server

    Quote Originally Posted by xingmu View Post
    tarekeldeeb,

    For your first error, are you running Ubuntu 9.10 (Karmic Koala)? Are you sure that you successfully installed the packakges? Try running the following command to (re)install and then try Step 1 again:
    I'm on Karmic, and Yes the packages are well installed.

    I'm totally lost ..

  4. #14
    Join Date
    May 2005
    Location
    Vancouver, Canada
    Beans
    49
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Setting up LDAP server

    tarekeldeeb,

    I believe something is wrong with your package, the list of files clearly includes the schma ldifs (see http://packages.ubuntu.com/en/karmic...slapd/filelist). You may try purge the packaging and reinstalling:

    Code:
    sudo apt-get purge slapd ldap-utils
    sudo apt-get install slapd ldap-utils
    You may also try using
    Code:
    sudo ls /etc/ldap/schema/*.ldif
    in case you have something changed the permissions of your /etc directory.

  5. #15
    Join Date
    Feb 2007
    Beans
    148

    Re: Setting up LDAP server

    Quote Originally Posted by xingmu View Post
    tarekeldeeb,

    I believe something is wrong with your package, the list of files clearly includes the schma ldifs (see http://packages.ubuntu.com/en/karmic...slapd/filelist). You may try purge the packaging and reinstalling:

    Code:
    sudo apt-get purge slapd ldap-utils
    sudo apt-get install slapd ldap-utils
    You may also try using
    Code:
    sudo ls /etc/ldap/schema/*.ldif
    in case you have something changed the permissions of your /etc directory.
    oops .. I have a problem installing slapd:

    Code:
    Setting up slapd (2.4.18-0ubuntu1) ...
      Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.18-0ubuntu1... done.
    Starting OpenLDAP: slapd - failed.
    The operation failed but no output was produced. For hints on what went
    wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
    try running the daemon in Debug mode like via "slapd -d 16383" (warning:
    this will create copious output).
    
    Below, you can find the command line options used by this script to 
    run slapd. Do not forget to specify those options if you
    want to look to debugging output:
      slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/ 
    invoke-rc.d: initscript slapd, action "start" failed.
    dpkg: error processing slapd (--configure):
     subprocess installed post-installation script returned error exit status 1
    Setting up ldap-utils (2.4.18-0ubuntu1) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     slapd
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    it installs fine using aptitude !
    but aptitude seems to be doing a nasty job ..

    Can you give me a clue ?

  6. #16
    Join Date
    May 2005
    Location
    Vancouver, Canada
    Beans
    49
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Setting up LDAP server

    There are several clues for you already in the error messages. You should follow those instructions first and see what you can figure out. I have seen bugs on upgrading slapd on Launchpad (https://bugs.launchpad.net/ubuntu/+source/openldap). You may check if their problems are similar. And if you are still stuck after following the instructions in the error message, perhaps you need to file a bug.

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •