LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
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"
 
Old 03-04-2013, 01:42 AM   #2
vishesh
Member
 
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

Thanks
 
  


Reply


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 01:33 PM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 01:55 AM
ldap server setup narendra.pant Red Hat 6 08-31-2007 03:10 AM
ldap setup for authentication rexthecoollion SUSE / openSUSE 2 04-14-2006 03:18 AM
getting ldap setup aaronj Linux - Software 2 08-31-2004 09:30 PM


All times are GMT -5. The time now is 04:33 AM.

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