|
156 |
" |
156 |
" |
157 |
binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \ |
157 |
binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \ |
158 |
/usr/sbin/udm users/user list --filter "'uid=$DCACCOUNT'" --logfile /dev/null | |
158 |
/usr/sbin/udm users/user list --filter "'uid=$DCACCOUNT'" --logfile /dev/null | |
159 |
sed -ne 's|DN: ||p')) |
159 |
sed -ne 's|^DN: ||p')) |
160 |
if [ -z "$binddn" ]; then |
160 |
if [ -z "$binddn" ]; then |
161 |
# Next check is the local ldapi interface |
161 |
# Next check is the local ldapi interface |
162 |
binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \ |
162 |
binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \ |