Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2013, 10:31 PM   #1
LQ Newbie
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
LDAP Setup

I am setting up LDAP on my Ubuntu Server. I am following the directions posted here:

I have done the following:

I have run apt-get install slapd ldap-utils
I created my password as well during that setup

One of the steps says edit: /etc/ldap/slapd.conf yet this file doesn't exist in this location but I did find a folder called slapd.d when I go in there I see cn=config and cn=config.ldif

Does anyone know where I might find slapd.conf? I did do a search and found a slapd.conf located at usr/share/slapd/slapd.conf but this location isn't notes in the instructions.

Do I have to create the slapd.conf in the /etc/ldap folder?

From the instructions I referenced above here is a snippet of where I'm at:

Preparation to Start LDAP

Before starting LDAP you must set your database type for Database #1, the suffix for your domain, set your rootdn, rootdn password and the directory location for you files. Note that is the domain that is used here.

Edit /etc/ldap/slapd.conf and make the necessary changes.

database hdb

suffix "dc=example,dc=com"

rootdn "cn=admin,dc=example,dc=com"

rootpw {SSHA}k1wLLf+cCUArjAt2BuFGe6OYdSiayIZd

directory "/var/lib/ldap"
Old 03-04-2013, 12:42 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
I have no idea on ubuntu , but on rhel /etc/ldap is for client setup for ldap server there is /etc/openldap/slapd.conf



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to setup LDAP server lovingaditya28 Linux - Server 3 06-01-2010 12:33 PM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 12:55 AM
ldap server setup narendra.pant Red Hat 6 08-31-2007 02:10 AM
ldap setup for authentication rexthecoollion SUSE / openSUSE 2 04-14-2006 02:18 AM
getting ldap setup aaronj Linux - Software 2 08-31-2004 08:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration