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 |
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 And make sure you make a backup of a file before editing it;) Regards |
All times are GMT -5. The time now is 09:02 AM. |