View | Details | Raw Unified | Return to bug 111617
Collapse All | Expand All

(-)files/slapd.sh.in (-2 / +2 lines)
Lines 51-58 start_precmd() Link Here
51
    chown -RL "$slapd_owner" "%%DATABASEDIR%%"
51
    chown -RL "$slapd_owner" "%%DATABASEDIR%%"
52
    chown "$slapd_owner" "%%PREFIX%%/etc/openldap/slapd.conf"
52
    chown "$slapd_owner" "%%PREFIX%%/etc/openldap/slapd.conf"
53
53
54
    slapd_ownername=`expr //"$slapd_owner" : //'\([^:]*\)'`
54
    slapd_ownername="${slapd_owner%:*}"
55
    slapd_groupname=`expr //"$slapd_owner" : //'.*:\([^:]*\)'`
55
    slapd_groupname="${slapd_owner#*:}"
56
56
57
    if [ -n "$slapd_ownername" ]; then
57
    if [ -n "$slapd_ownername" ]; then
58
      rc_flags="$rc_flags -u $slapd_ownername"
58
      rc_flags="$rc_flags -u $slapd_ownername"

Return to bug 111617