Summary: | net-nds/openldap - /etc/conf.d/slapd recommends deprecated default (use slapd.conf file instead of slapd.d directory) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Current packages | Assignee: | Gentoo LDAP project <ldap-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | salikov.alexey |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://www.openldap.org/doc/admin24/slapdconf2.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | slapd_args.ldif |
Description
Sergey S. Starikoff
2014-02-26 07:58:42 UTC
Some ideas about follow-up improvements: 1. Rename new-style flat config-source file from /etc/openldap/slapd.ldif to /etc/openldap/slapd-config.ldif (clearly pointing on SLAPD-CONFIG(5) manual page, containing similiar example) 2. Following syslog USE add to slapd startup options (listed in /etc/conf.d/slapd) -s 256 (according slapd.conf(5) manual page, but not slapd-config(5) 256 is the recommended loglevel). 3. Completely separate old-style config files from new ones (if's looks very strange in RHEL to find deprecated flat config file only installed only in /usr/share/openldap-servers/slapd.conf.obsolete, but both old flat *schemas with new *ldif schemas in /etc/openldap/schema/). So, to my mind it would be clear enough to install obsolete schema files in /etc/openldap/schema/ with moving new-style *ldif schema files into /etc/openldap/schema.d/ directory). net-nds/openldap-2.4.44 and conf.d/slapd and pid required both OPTS_CONF="-F /etc/${INSTANCE}/slapd.d -f /etc/${INSTANCE}/slapd.conf" slapd.conf should keep only pidfile /run/openldap/slapd.pid argsfile /run/openldap/slapd.args with new slapd.d style i do not find other way to set where pid file is stored see also bug 21962 Created attachment 464032 [details] slapd_args.ldif (In reply to cronolio from comment #2) > net-nds/openldap-2.4.44 and conf.d/slapd and pid > > required both > OPTS_CONF="-F /etc/${INSTANCE}/slapd.d -f /etc/${INSTANCE}/slapd.conf" It is the thing, config script should *NOT* allow to do. > slapd.conf should keep only > pidfile /run/openldap/slapd.pid > argsfile /run/openldap/slapd.args > > with new slapd.d style i do not find other way to set where pid file is > stored It means, you use wrong config directory. Show it's dump (maybe on my mail). How you've got it? Try to fix it with attached ldif. P.S. In a few days I plan to review server's setup in wiki. (In reply to Sergey S. Starikoff from comment #3) > Created attachment 464032 [details] > slapd_args.ldif yeah i find it later maybe you interesting in upgrading our wiki like this https://wiki.gentoo.org/wiki/Centralized_authentication_using_OpenLDAP or maybe expand other articles and write how to use some software with ldap ? The comment there is pretty clear, it does not recommend anything, it just says "if you are using..." |