LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-11-2012, 06:04 AM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
Slapd.conf removed- Where do I edit in slapd.d DIT for same info?


Since openldap did away with slapd.conf, where do I place information such as suffix "dc=your-domain,dc=com"? With the new slapd.d and DIT structures, rather than just one slad.conf file...I do not know where to place the fundmental information such as "dc=your-domain,dc=com".



I am new and I don't want to go with the slapd.conf method and migrate the info, since slapd.conf is going away I want to learn the new method. I checked the openldap site and the way they explain it I don't fully understand for what I simiply want to do. I am using Centos and I am building a new(no migration) ldap server only to use authentaction for logging with PAM user accounts and passwords.

Last edited by dman777; 03-11-2012 at 10:06 AM.
 
Old 03-12-2012, 03:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You might take a look at this howto

Note that you can still use old slapd.conf configuration instead of the new slapd.d. In fact when slapd is starting it looks for a slapd.d directoy. If it doesn't find it, it uses slapd.conf. If you like, you can after configuring your openldap server this way, to convert slapd configuration to the cn=config DIT (i.e. use the slapd.d directory) using the instructions here

Regards
 
1 members found this post helpful.
  


Reply



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
OpenLDAP error... can't find slapd.conf that Linux guy Linux - Server 7 10-17-2011 07:46 AM
What is the connection between slapd.conf and the slapd.d bangshws Linux - Server 1 10-13-2011 06:27 AM
ldap cannot carry slapd.conf changes or did not use /etc/openldap/slapd.conf joel_saul Linux - Server 6 08-21-2010 04:53 AM
OpenLDAP slapd.conf corrupted RobTrmr Linux - Software 1 10-14-2009 04:40 AM
OpenLDAP (no slapd.conf) britchaz Linux - Networking 1 05-05-2009 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:59 PM.

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