Hi Dear! I try to reconfigure the package many times with dpkg-reconfigure but the problem is still yet. no slapd.conf file.
I manger openldap server with phpldapadmin, so i can log in because this file just disappear.
Hey, probably the file or the directory will be dynamically created at post-install by a debconf script.
Try "dpkg-reconfigure slapd" if there is such a script, that should trigger it.
In normal cases that should also trigger when installing the slapd-package, but who knows what's blocking it.
Bye.
PS: You better should ask that kind of question on a debian mailinglist, most of us are only guessing. :P
On Thu, Aug 26, 2010 at 20:53, Chris Jacobs Chris.Jacobs@apollogrp.edu wrote:
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.
-- To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is to do -- Sartre | Do be do be do -- Sinatra