[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: I can't see my /etc/ldap/slapd.conf file after reinstall



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/26/2010 01:53 PM, Eric KOM wrote:
>> Hi Dear Team!
>>
>> Please, I got problem with my OpenLDAP server on Debian Testing.
>> I try to purge slapd package with aptitude purge slapd and remove all
>> files and directories with rm on /etc/ldap/.
>>
>> after reinstall slapd, I can't see the main configuration file
>> /etc/ldap/slapd.conf?
>>
>> but the server is running.
>
> Look into files like /etc/default/slapd and /etc/init.d/slapd,
> what path they set for the SLAPD_CONF variable and through it,
> the "-f" parameter. This should point to an existing file.
>
> If the -f parameter is not present, try finding the files slapd
> searches for the default configuration:
> strings /usr/sbin/slapd | grep "slapd\."
>
> Ondra
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkx2bgoACgkQ9GWxeeH+cXsEiwCfdVb5/mKNb5gi37O1XSH/aY27
> Qr4AoJI22GD+ApJapqmAA03bsLuuHEXt
> =WsnJ
> -----END PGP SIGNATURE-----
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
>
>
#find / -iname slapd.conf
/usr/share/slapd/slapd.conf
/usr/share/doc/slapd/examples/slapd.conf
/var/backups/slapd-2.4.23-2/slapd.conf

This is output for "find / -iname slapd.conf " command.
I don't know if can I move slapd.conf file to /etc/ldap directory?


-- 
Yours truly,
Eric KOM
110 LAWN STREET ROSETTENVILLE
2190
JOHANNESBURG
SOUTH AFRICA

Phone: +27 (0) 788 791 334
Fax: +27 (0) 865 563 009
E-mail: erickom@namekom.co.za
Websites: www.erickom.co.za | www.namekom.co.za/erickom |  www.namekom.co.za