Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-14-2009, 04:14 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
OpenLDAP slapd.conf corrupted


I have a problem with my current LDAP software. For my school project I am required to install LDAP and I have to edit the slapd.conf file. I did this, and something went wrong, I don't know what to change back in the file itself. And i know removing OpenLDAP ends up in not letting me access the GUI during reboot. Is there any way I can set this file back to its default state?

Thanks in advance,



I'm a first time poster here. And my OS is Fedora Core 6
Old 10-14-2009, 04:40 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,477

Rep: Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480Reputation: 1480
Hi, and welcome to LQ

If you have used the official rpm package to install openldap, then you can do the following to get the default slapd.conf. Copy the openldap-x.y.z.rpm to /tmp (or any other convenient directory), go into that directory and run:
rpm2cpio openldap-x.y.z.rpm |cpio -ivd ./etc/opneldap/slapd.conf
It will extract the file under etc/opneldap/slapd.conf, so you can use it.
And make sure you make a backup of a file before editing it



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
OpenLDAP error... can't find slapd.conf that Linux guy Linux - Server 7 10-17-2011 07:46 AM
OpenLDAP (no slapd.conf) britchaz Linux - Networking 1 05-05-2009 03:29 PM
LXer: OpenLDAP Quick Tips: Always test your slapd configuration LXer Syndicated Linux News 0 11-17-2008 05:50 PM
LXer: OpenLDAP Quick Tips: Using syslog or syslog-ng with slapd for OpenLDAP logging LXer Syndicated Linux News 0 11-14-2008 08:41 PM
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 01:54 PM

All times are GMT -5. The time now is 05:43 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