LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LDAP Setup (https://www.linuxquestions.org/questions/linux-newbie-8/ldap-setup-4175452581/)

newphoenixlinux 03-03-2013 10:31 PM

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

http://www.beginlinux.com/server_tra...-on-ubuntu-804

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 example.com 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"

vishesh 03-04-2013 12:42 AM

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

Thanks


All times are GMT -5. The time now is 09:58 PM.