LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
OpenLDAP slapd.conf corrupted


Hello,

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,

Rob

P.S

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

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
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:
Code:
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

Regards
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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