Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Setting up OpenLDAP on Debian

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-02-2009
Member
 
Join Date: Dec 2008
Posts: 28
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:

WARNING!
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.

Reply With Quote
  #2  
Old 25-02-2009
Member
 
Join Date: Feb 2008
Posts: 2,634
Re: Setting up OpenLDAP on Debian

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432662

Apparently should check the rights on the file to ldap conf. Or update.
Reply With Quote
  #3  
Old 25-02-2009
Member
 
Join Date: Jan 2009
Posts: 66
Re: Setting up OpenLDAP on Debian

Quote:
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
Reply With Quote
  #4  
Old 25-02-2009
Member
 
Join Date: Jan 2006
Posts: 3,779
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
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Setting up OpenLDAP on Debian"
Thread Thread Starter Forum Replies Last Post
AD and openldap sync linuxcraft Windows Software 2 27-09-2011 12:21 AM
Problem installing openldap under debian NetworkeR Networking & Security 5 16-12-2009 10:33 AM
Problem of integration into OpenLDAP 2.3 Nigel_123 Operating Systems 1 18-12-2008 06:56 PM
Replication between OpenLDAP and AD AngerEyes Active Directory 3 04-08-2008 02:15 PM


All times are GMT +5.5. The time now is 07:45 AM.