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.
Thank you in advance.
Hello,
probably its in another directory. :)
On my SLES 11 Machines its /etc/openldap/slapd.d or slapd.conf.
Did you try 'find /etc -iname slapd.conf' ?
Bye, Benjamin.
On Thu, Aug 26, 2010 at 13:53, Eric KOM erickom@namekom.co.za 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.
Thank you in advance.
-- 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
On 26/08/2010 13:53, 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.
I believe that Debian testing has switched to the cn=config based configuration now, and you should find it stored in /etc/ldap/slapd.d/.
On 26/08/2010 13:53, 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.
I believe that Debian testing has switched to the cn=config based configuration now, and you should find it stored in /etc/ldap/slapd.d/.
--
Jonathan Clarke - jonathan@phillipoux.net
Ldap Synchronization Connector (LSC) - http://lsc-project.org
That's true, but I'm still looking the file contained information entry by debconf slapd.conf.
Please, see below the output for this command "dpkg -L slapd": /. /etc /etc/ldap /etc/ldap/sasl2 /etc/ldap/schema /etc/ldap/schema/openldap.ldif /etc/ldap/schema/nis.ldif /etc/ldap/schema/dyngroup.schema /etc/ldap/schema/core.ldif /etc/ldap/schema/collective.schema /etc/ldap/schema/misc.schema /etc/ldap/schema/corba.schema /etc/ldap/schema/nis.schema /etc/ldap/schema/java.schema /etc/ldap/schema/README /etc/ldap/schema/ppolicy.schema /etc/ldap/schema/pmi.schema /etc/ldap/schema/inetorgperson.ldif /etc/ldap/schema/core.schema /etc/ldap/schema/openldap.schema /etc/ldap/schema/inetorgperson.schema /etc/ldap/schema/cosine.ldif /etc/ldap/schema/cosine.schema /etc/ldap/schema/duaconf.schema /etc/init.d /etc/init.d/slapd /etc/default /etc/default/slapd /usr /usr/lib /usr/lib/ldap /usr/lib/ldap/dynlist-2.4.so.2.5.6 /usr/lib/ldap/collect-2.4.so.2.5.6 /usr/lib/ldap/dyngroup.la /usr/lib/ldap/deref.la /usr/lib/ldap/dds-2.4.so.2.5.6 /usr/lib/ldap/back_sql-2.4.so.2.5.6 /usr/lib/ldap/sssvlv.la /usr/lib/ldap/retcode-2.4.so.2.5.6 /usr/lib/ldap/back_perl.la /usr/lib/ldap/valsort-2.4.so.2.5.6 /usr/lib/ldap/auditlog.la /usr/lib/ldap/syncprov-2.4.so.2.5.6 /usr/lib/ldap/back_dnssrv-2.4.so.2.5.6 /usr/lib/ldap/back_hdb-2.4.so.2.5.6 /usr/lib/ldap/dyngroup-2.4.so.2.5.6 /usr/lib/ldap/back_null.la /usr/lib/ldap/syncprov.la /usr/lib/ldap/rwm-2.4.so.2.5.6 /usr/lib/ldap/back_sock.la /usr/lib/ldap/deref-2.4.so.2.5.6 /usr/lib/ldap/back_bdb.la /usr/lib/ldap/accesslog-2.4.so.2.5.6 /usr/lib/ldap/dds.la /usr/lib/ldap/pcache-2.4.so.2.5.6 /usr/lib/ldap/ppolicy.la /usr/lib/ldap/translucent-2.4.so.2.5.6 /usr/lib/ldap/back_hdb.la /usr/lib/ldap/back_passwd.la /usr/lib/ldap/back_sock-2.4.so.2.5.6 /usr/lib/ldap/back_passwd-2.4.so.2.5.6 /usr/lib/ldap/back_sql.la /usr/lib/ldap/constraint-2.4.so.2.5.6 /usr/lib/ldap/back_monitor-2.4.so.2.5.6 /usr/lib/ldap/back_shell-2.4.so.2.5.6 /usr/lib/ldap/accesslog.la /usr/lib/ldap/back_meta.la /usr/lib/ldap/sssvlv-2.4.so.2.5.6 /usr/lib/ldap/seqmod.la /usr/lib/ldap/autogroup.la /usr/lib/ldap/unique.la /usr/lib/ldap/translucent.la /usr/lib/ldap/back_relay-2.4.so.2.5.6 /usr/lib/ldap/back_shell.la /usr/lib/ldap/memberof-2.4.so.2.5.6 /usr/lib/ldap/auditlog-2.4.so.2.5.6 /usr/lib/ldap/collect.la /usr/lib/ldap/refint-2.4.so.2.5.6 /usr/lib/ldap/constraint.la /usr/lib/ldap/dynlist.la /usr/lib/ldap/rwm.la /usr/lib/ldap/back_monitor.la /usr/lib/ldap/pcache.la /usr/lib/ldap/back_ldap-2.4.so.2.5.6 /usr/lib/ldap/memberof.la /usr/lib/ldap/ppolicy-2.4.so.2.5.6 /usr/lib/ldap/valsort.la /usr/lib/ldap/back_meta-2.4.so.2.5.6 /usr/lib/ldap/unique-2.4.so.2.5.6 /usr/lib/ldap/back_null-2.4.so.2.5.6 /usr/lib/ldap/back_bdb-2.4.so.2.5.6 /usr/lib/ldap/seqmod-2.4.so.2.5.6 /usr/lib/ldap/back_relay.la /usr/lib/ldap/back_perl-2.4.so.2.5.6 /usr/lib/ldap/back_ldap.la /usr/lib/ldap/autogroup.so.0.0.0 /usr/lib/ldap/retcode.la /usr/lib/ldap/back_dnssrv.la /usr/lib/ldap/refint.la /usr/lib/libslapi-2.4.so.2.5.6 /usr/share /usr/share/slapd /usr/share/slapd/slapd.init.ldif /usr/share/slapd/slapd.conf /usr/share/slapd/ldiftopasswd /usr/share/slapd/DB_CONFIG /usr/share/man /usr/share/man/man8 /usr/share/man/man8/slappasswd.8.gz /usr/share/man/man8/slapschema.8.gz /usr/share/man/man8/slapadd.8.gz /usr/share/man/man8/slapcat.8.gz /usr/share/man/man8/slapacl.8.gz /usr/share/man/man8/slapindex.8.gz /usr/share/man/man8/slapdn.8.gz /usr/share/man/man8/slapauth.8.gz /usr/share/man/man8/slaptest.8.gz /usr/share/man/man8/slapd.8.gz /usr/share/man/man5 /usr/share/man/man5/slapd.access.5.gz /usr/share/man/man5/slapd-passwd.5.gz /usr/share/man/man5/slapo-pbind.5.gz /usr/share/man/man5/slapd-dnssrv.5.gz /usr/share/man/man5/slapo-accesslog.5.gz /usr/share/man/man5/slapo-refint.5.gz /usr/share/man/man5/slapd.plugin.5.gz /usr/share/man/man5/slapd-monitor.5.gz /usr/share/man/man5/slapd-null.5.gz /usr/share/man/man5/slapd.overlays.5.gz /usr/share/man/man5/slapo-collect.5.gz /usr/share/man/man5/slapd-config.5.gz /usr/share/man/man5/slapo-translucent.5.gz /usr/share/man/man5/slapo-pcache.5.gz /usr/share/man/man5/slapd-shell.5.gz /usr/share/man/man5/slapd-relay.5.gz /usr/share/man/man5/slapo-ppolicy.5.gz /usr/share/man/man5/slapd-ldif.5.gz /usr/share/man/man5/slapd-sql.5.gz /usr/share/man/man5/slapd-sock.5.gz /usr/share/man/man5/slapo-valsort.5.gz /usr/share/man/man5/slapd.backends.5.gz /usr/share/man/man5/slapo-retcode.5.gz /usr/share/man/man5/slapd.conf.5.gz /usr/share/man/man5/slapo-dynlist.5.gz /usr/share/man/man5/slapo-syncprov.5.gz /usr/share/man/man5/slapo-dyngroup.5.gz /usr/share/man/man5/slapd-ldap.5.gz /usr/share/man/man5/slapd-ndb.5.gz /usr/share/man/man5/slapd-perl.5.gz /usr/share/man/man5/slapo-chain.5.gz /usr/share/man/man5/slapo-unique.5.gz /usr/share/man/man5/slapd-meta.5.gz /usr/share/man/man5/slapo-memberof.5.gz /usr/share/man/man5/slapo-auditlog.5.gz /usr/share/man/man5/slapo-constraint.5.gz /usr/share/man/man5/slapd-hdb.5.gz /usr/share/man/man5/slapo-dds.5.gz /usr/share/man/man5/slapd-ldbm.5.gz /usr/share/man/man5/slapo-sssvlv.5.gz /usr/share/man/man5/slapd-bdb.5.gz /usr/share/man/man5/slapo-rwm.5.gz /usr/share/doc /usr/share/doc/slapd /usr/share/doc/slapd/changelog.Debian.gz /usr/share/doc/slapd/copyright /usr/share/doc/slapd/examples /usr/share/doc/slapd/examples/slapd.backup /usr/share/doc/slapd/NEWS.Debian.gz /usr/share/doc/slapd/README.Debian.gz /usr/share/doc/slapd/README.DB_CONFIG.gz /usr/share/doc/slapd/TODO.Debian /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/slapd /usr/sbin /usr/sbin/slappasswd /usr/sbin/slapindex /usr/sbin/slapd /usr/sbin/slapauth /usr/sbin/slapcat /usr/sbin/slapacl /usr/sbin/slapadd /usr/sbin/slapdn /usr/sbin/slaptest /var /var/lib /var/lib/slapd /usr/lib/ldap/back_perl-2.4.so.2 /usr/lib/ldap/syncprov-2.4.so.2 /usr/lib/ldap/back_hdb.so /usr/lib/ldap/valsort.so /usr/lib/ldap/retcode-2.4.so.2 /usr/lib/ldap/retcode.so /usr/lib/ldap/memberof.so /usr/lib/ldap/accesslog-2.4.so.2 /usr/lib/ldap/back_meta.so /usr/lib/ldap/auditlog.so /usr/lib/ldap/refint.so /usr/lib/ldap/back_null.so /usr/lib/ldap/sssvlv-2.4.so.2 /usr/lib/ldap/dynlist-2.4.so.2 /usr/lib/ldap/back_passwd-2.4.so.2 /usr/lib/ldap/valsort-2.4.so.2 /usr/lib/ldap/accesslog.so /usr/lib/ldap/seqmod-2.4.so.2 /usr/lib/ldap/back_perl.so /usr/lib/ldap/refint-2.4.so.2 /usr/lib/ldap/back_ldap-2.4.so.2 /usr/lib/ldap/translucent.so /usr/lib/ldap/pcache-2.4.so.2 /usr/lib/ldap/ppolicy-2.4.so.2 /usr/lib/ldap/sssvlv.so /usr/lib/ldap/back_dnssrv-2.4.so.2 /usr/lib/ldap/back_meta-2.4.so.2 /usr/lib/ldap/back_hdb-2.4.so.2 /usr/lib/ldap/back_bdb-2.4.so.2 /usr/lib/ldap/dyngroup-2.4.so.2 /usr/lib/ldap/deref-2.4.so.2 /usr/lib/ldap/unique-2.4.so.2 /usr/lib/ldap/back_monitor-2.4.so.2 /usr/lib/ldap/back_bdb.so /usr/lib/ldap/unique.so /usr/lib/ldap/back_sock.so /usr/lib/ldap/auditlog-2.4.so.2 /usr/lib/ldap/back_relay-2.4.so.2 /usr/lib/ldap/back_null-2.4.so.2 /usr/lib/ldap/back_sock-2.4.so.2 /usr/lib/ldap/constraint-2.4.so.2 /usr/lib/ldap/constraint.so /usr/lib/ldap/rwm-2.4.so.2 /usr/lib/ldap/back_dnssrv.so /usr/lib/ldap/back_passwd.so /usr/lib/ldap/pcache.so /usr/lib/ldap/autogroup.so.0 /usr/lib/ldap/memberof-2.4.so.2 /usr/lib/ldap/back_ldap.so /usr/lib/ldap/back_shell-2.4.so.2 /usr/lib/ldap/seqmod.so /usr/lib/ldap/rwm.so /usr/lib/ldap/autogroup.so /usr/lib/ldap/ppolicy.so /usr/lib/ldap/collect.so /usr/lib/ldap/back_relay.so /usr/lib/ldap/dds.so /usr/lib/ldap/back_shell.so /usr/lib/ldap/translucent-2.4.so.2 /usr/lib/ldap/dyngroup.so /usr/lib/ldap/syncprov.so /usr/lib/ldap/dynlist.so /usr/lib/ldap/back_sql.so /usr/lib/ldap/back_sql-2.4.so.2 /usr/lib/ldap/collect-2.4.so.2 /usr/lib/ldap/back_monitor.so /usr/lib/ldap/dds-2.4.so.2 /usr/lib/ldap/deref.so /usr/lib/libslapi-2.4.so.2 /usr/share/doc/slapd/examples/slapd.conf /usr/share/doc/slapd/examples/DB_CONFIG
-----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
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.
-----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?
-----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!
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.
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.
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
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.
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.
openldap-technical@openldap.org