Issue #477 has been updated by Nick Milas.

Here is the relevant part of /etc/default/slapd: 

<pre>
# OpenLDAP directory and files
SLAPD_PATH="/usr/local/openldap"
SLAPD_PID_FILE="$SLAPD_PATH/var/run/slapd.pid"
# SLAPD_CONF="$SLAPD_PATH/etc/openldap/slapd.conf"
SLAPD_CONF=""
# SLAPD_CONF_DIR=""
SLAPD_CONF_DIR="$SLAPD_PATH/etc/openldap/slapd.d"
</pre>

What should I change?

----------------------------------------
Bug #477: Warning in openldap int script v.1.6: line 251: [: too many arguments
http://tools.lsc-project.org/issues/477

Author: Nick Milas
Status: Assigned
Priority: Normal
Assigned to: Clément OUDOT
Category: OpenLDAP init script
Target version: openldap-initscript-?


I am using ltb-openldap v2.4.31 with init script v1.6.

When I run: service slapd status, I get: 
<pre>
/etc/init.d/slapd: line 251: [: too many arguments
</pre>

Here is the whole command:
<pre>
# service slapd status
slapd: [INFO] Using /etc/default/slapd for configuration
/etc/init.d/slapd: line 251: [: too many arguments
slapd: [INFO] LDAP Tool Box OpenLDAP init script version 1.6
slapd: [INFO] Process OpenLDAP is running
slapd: [INFO] Listening to services ldap://*:389 ldaps://*:636
slapd: [INFO] Detected suffix: dc=example,dc=com
</pre>

I guess it should be corrected. Init script seems to be working, despite this 
"error".


-- 
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

Reply via email to