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

Re: slapd.conf



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edward de Jongh wrote:
| Hi all I've managed to install OpenSSL for TLS and the install seemed
to go
| without a hitch. I've now come across a new problem. No matter what
changes
| I make to the slapd.conf, slapd will not start. So whether I add new
values
| such as:
|
|
|
| #
|
| # TLS Security Configuration
|
| #
|
| TLSCertificateFile      /opt/openldap/etc/openldap/ldap_crt.pem
|
| TLSCertificateKeyFile   /opt/openldap/etc/openldap/ldap_crt.pem
|
| TLSCACertificateFile    /opt/openldap/etc/openldap/cacert.pem
|
|
|
| Or just try and rename
|
|
|
| #
|
| # Database Directory
|
| #
|
| directory       /opt/openldap/var/ldap-data
|
|
|
| to
|
|
|
| #
|
| # Database Directory
|
| #
|
| directory       /opt/openldap/var/bdb-data
|
|
|
| slapd just won't start. I can however change the default password without
| any issues. Has anyone experienced a similar problem? I've gone
through the
| faq's, but my gut says this is a permissions problem?

Try running it with debugging without daemonising, as follows:

# slapd -d1

It is usuallu also a good idea to run it as the user and group it
normally runs as, to find permissions problems:

# slapd -d1 -g ldap -u ldap

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA/S2mrJK6UGDSBKcRArYmAJsH2AsSL9jKkYa1Zy2kVdjkq5rrZACfUM3+
M4CjFmeQkYK5aXlMHg6kaNc=
=WkB4
-----END PGP SIGNATURE-----