Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-16-2008, 08:25 AM   #1
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
openldap - question about suffix / rootdn / dn

I'm using this guide -->

I'm in the early stages here, and I'm modding my slapd.conf file. It says to add this to your conf file....

database        bdb
suffix          "dc=example,dc=com"
rootdn          "cn=Manager,dc=example,dc=com"
rootpw          {SSHA}v4qLq/qy01w9my60LLX9BvfNUrRhOjQZ
directory       /var/lib/ldap/
Assuming I'm installing this on a machine that is located at Would my config look like this?

database        bdb
suffix          "dc=freddy,dc=domain1,dc=com"
rootdn          "cn=Manager,dc=freddy,dc=domain1,dc=com"
rootpw          {SSHA};lasd9320jf30j30j03j09jf0jf0jf340jfio34
directory       /var/lib/ldap/
Or do I just use the very last part of the domain?

Also, should this be a name that is in my dns, or should it be more like domain1.local?

Thanks for any help.
Old 02-16-2008, 11:14 AM   #2
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
If your building it on a machine with the name freddy there is no need to include that hostname.
database        bdb
suffix          "dc=domain1,dc=com"
rootdn          "cn=Manager,dc=domain1,dc=com"
rootpw          {SSHA};lasd9320jf30j30j03j09jf0jf0jf340jfio34
directory       /var/lib/ldap/
The you can add users in cn=People,dc=domain1,dc=com.
They will be organized like:

You want the suffix to reflect the domain, not the host serving it because that could always change in the future.


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
DNS suffix Golzari-Ali Linux - General 2 09-30-2006 01:23 PM
Openldap question gn00kie Red Hat 0 02-27-2006 02:55 AM
Network Attached Storage (NAS) - OpenLDAP/Samba integration question scarab02 Linux - Networking 0 01-17-2006 02:05 PM
OpenLDAP rootDN fetch with Java wslyhbb Programming 0 01-31-2005 07:54 PM
OpenLDAP server question phonecian Linux - Networking 3 09-20-2003 02:07 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:18 PM.

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
Open Source Consulting | Domain Registration