https://bugzilla.novell.com/show_bug.cgi?id=428168 Summary: When using the dynamic configuration backend, rcldap shows a grep error Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: richard.bos@xs4all.nl QAContact: qa@suse.de Found By: --- When using the configuration backend based on back-ldif the old file based configuration is not needed anymore. To be sure that the new Real Time Configuration (introduced in openldap-2.4 cn=config) is used, the /etc/openldap/slapd.conf was removed. After that slapd was started. (see step 4 at http://www.zytrax.com/books/ldap/ch6/slapd-config.html#convert) rcldap shows the following output: /etc/openldap # rcldap start grep: /etc/openldap/slapd.conf: No such file or directory This error is from line 151 in rcldap: 150 if [ -n "$OPENLDAP_USER" -o -n "$OPENLDAP_GROUP" ]; then 151 chown_database_dirs "/etc/openldap/slapd.conf" 152 chgrp $OPENLDAP_GROUP /etc/openldap/slapd.conf Line 150 should probably check for an existing /etc/openldap/slapd.conf as well. There is probably more needed to be done than only adding the check for an existing slapd.conf file. It is probably needed to query ldap for the directory (which is done in chown_database_dirs), but than ldap must be running, at this point in the code ldap is not yet running.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.