Lines 546-551
set_dn_conf(){
Link Here
|
546 |
DN_CONF=$(ldap-dn find "$base") |
546 |
DN_CONF=$(ldap-dn find "$base") |
547 |
rootdn=$(egrep "rootdn" "$DN_CONF"|cut -f2 -d' '|tr -d '"') |
547 |
rootdn=$(egrep "rootdn" "$DN_CONF"|cut -f2 -d' '|tr -d '"') |
548 |
rootpw="-w $(egrep "rootpw" "$DN_CONF"|cut -f2 -d' ')" |
548 |
rootpw="-w $(egrep "rootpw" "$DN_CONF"|cut -f2 -d' ')" |
|
|
549 |
bind_info="present" |
549 |
export DN_CONF |
550 |
export DN_CONF |
550 |
export mode host base rootdn rootpw |
551 |
export mode host base rootdn rootpw |
551 |
[ "$mode" == 'krb5' ] && export ENABLE_KRB="yes" |
552 |
[ "$mode" == 'krb5' ] && export ENABLE_KRB="yes" |
552 |
- |
|
|