Issue #648 has been reported by olivier guillard. ---------------------------------------- Bug #648: Don't attempt to check or read slapd.conf file if slapd.d directory is configured and present http://tools.lsc-project.org/issues/648
Author: olivier guillard Status: New Priority: Normal Assigned to: Category: Target version: openldap-rpm-2.4.39 Sorry to reopen that, but it sounds to me that this bug is not fixed : http://tools.lsc-project.org/issues/410 I work on redhat 6 $ rpm -qa | grep ltb openldap-ltb-2.4.38-1.el6.x86_64 berkeleydb-ltb-4.6.21.NC-4.el6.patch4.x86_64 Here is the issue : If in my initscript I say this : # grep -e "^SLAPD_CONF" /etc/init.d/slapd SLAPD_CONF="$SLAPD_PATH/etc/openldap/slapd.conf" SLAPD_CONF_DIR="$SLAPD_PATH/etc/openldap/slapd.d" I see that : 1/ if both $SLAPD_PATH/etc/openldap/slapd.conf and $SLAPD_PATH/etc/openldap/slapd.d exist, then slapd.conf is read, not slapd.d (it should be the opposite) 2/ if I remove the file slapd.conf (and keep of course slapd.d), then I get this : # service slapd restart slapd: [INFO] Using /etc/default/slapd for configuration slapd: [ALERT] Can't read /usr/local/openldap/etc/openldap/slapd.conf 3/ if I remove the file slapd.conf and say in the init script the following: # grep -e "^SLAPD_CONF" /etc/init.d/slapd SLAPD_CONF="" SLAPD_CONF_DIR="$SLAPD_PATH/etc/openldap/slapd.d" then I also get this: # service slapd restart slapd: [INFO] Using /etc/default/slapd for configuration slapd: [ALERT] Can't read /usr/local/openldap/etc/openldap/slapd.conf Any way to work work with slapd.d ? Do I miss something ? Best -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________ ltb-dev mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-dev
