Results 1 to 4 of 4

Thread: Setting up OpenLDAP on Debian

  1. #1
    Join Date
    Dec 2008

    Setting up OpenLDAP on Debian

    Hello everyone,

    I hope not having the wrong section.

    I have not found a solution to my problem. Let me explain, I work under VirtualBox on debian etch (testing machines), and I want to establish openLDAP so far everything is fine, no problem with the installation.

    But (there is always a "but" ^ ^) when I want to configure is the cat, in fact I am one of many tutorials so I configure my slapd.conf. I tested with the command line:

    slaptest-f / etc / ldap / slapd.conf

    I said: config file testing succeeded

    However, when I want to do: splapindex I have the right to a nice:

    Runnig as root!
    There's a fair chance slapd will fail to start.
    Check file permissions!

    please help me to solve it...
    Thank you in advance for your answers and soon.

  2. #2
    Join Date
    Feb 2008

    Re: Setting up OpenLDAP on Debian

    Apparently should check the rights on the file to ldap conf. Or update.

  3. #3
    Join Date
    Jan 2009

    Re: Setting up OpenLDAP on Debian

    alexandre @ server: / etc / ldap $ ls-lah
    total 44K
    drwxr-xr-x 4 root root 4,0 K November 18 01:18.
    drwxr-xr-x 136 root root 12K February 2 12:26 ..
    -rw-r - r - 1 root root 245 November 18 01:14 ldap.conf
    -rw-r - r - 1 root root 39 November 18 01:14 password
    drwxr-xr-x 2 root root 4,0 K November 18 01:14 sasl2
    drwxr-xr-x 2 root root 4,0 K November 18 01:14 schema
    -rw ------- 1 root root 3,7 K November 18 01:14 slapd.conf
    -rw ------- 1 root root 4.3 K November 18 01:14 slapd.conf.default

    if it can help

    and I remember how hard it is to openladap under debian

  4. #4
    Join Date
    Jan 2006

    Re: Setting up OpenLDAP on Debian

    as in bug report:
    chgrp openldap slapd.conf
    chmod g + w slapd.conf
    then launched the retention of bouzin

    Apparently what happens is that they have patched openldap to drop root privileges and runs as user openldap is good, but the slapd.conf file is readable by root ... damage

Similar Threads

  1. AD and openldap sync
    By linuxcraft in forum Windows Software
    Replies: 2
    Last Post: 27-09-2011, 12:21 AM
  2. Problem installing openldap under debian
    By NetworkeR in forum Networking & Security
    Replies: 5
    Last Post: 16-12-2009, 10:33 AM
  3. Problem of integration into OpenLDAP 2.3
    By Nigel_123 in forum Operating Systems
    Replies: 1
    Last Post: 18-12-2008, 06:56 PM
  4. Replication between OpenLDAP and AD
    By AngerEyes in forum Active Directory
    Replies: 3
    Last Post: 04-08-2008, 02:15 PM

Posting Permissions

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