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

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



Then look in the script (that's what it is) and locate where slapd is being called.

Then run strings /path/slapd | grep slapd\.conf to see where the slapd.conf file is at.

If it's not where you want it, re-compile openldap, specifying the path's you want.

- chris

Chris Jacobs, Systems Administrator
Apollo Group  |  Apollo Marketing | Aptimus
2001 6th Ave Ste 3200 | Seattle, WA 98121
phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661
email:  chris.jacobs@apollogrp.edu

----- Original Message -----
From: Eric KOM <erickom@namekom.co.za>
To: Chris Jacobs
Cc: 'erickom@namekom.co.za' <erickom@namekom.co.za>; 'ondrej.kuznik@acision.com' <ondrej.kuznik@acision.com>; 'openldap-technical@openldap.org' <openldap-technical@openldap.org>
Sent: Fri Aug 27 23:15:49 2010
Subject: Re: I can't see my /etc/ldap/slapd.conf file after reinstall

I start ldapd using: /etc/init.d/slapd restart


> You must be using a slapd located elsewhere.
>
> How did you start slapd?  Check the script for slapd's location, and grep
> that file.
>
> Probably something like:
> /usr/local/...
>
> - chris
>
> Chris Jacobs, Systems Administrator
> Apollo Group  |  Apollo Marketing | Aptimus
> 2001 6th Ave Ste 3200 | Seattle, WA 98121
> phone: 206.839-8245 | cell: 206.601.3256 | Fax: 208.441.9661
> email:  chris.jacobs@apollogrp.edu
>
> ----- Original Message -----
> From: openldap-technical-bounces@OpenLDAP.org
> <openldap-technical-bounces@OpenLDAP.org>
> To: Ondrej Kuznik <ondrej.kuznik@acision.com>
> Cc: Eric KOM <erickom@namekom.co.za>; openldap-technical@openldap.org
> <openldap-technical@openldap.org>
> Sent: Thu Aug 26 11:30:24 2010
> Subject: 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.
>>
>>
>>
> #strings /usr/sbin/slapd | grep "slapd\."
> after execute this command, I can see the /etc/ldap/slapd.conf file path
> only.
> the file is not yet, I don't know why!
>
>
> --
> 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
>
>
>
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
>
>
>


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



This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.