|
Lines 292-298
Link Here
|
| 292 |
|
292 |
|
| 293 |
# First use udm to search the user DN |
293 |
# First use udm to search the user DN |
| 294 |
binddn="$(univention-ssh "$DCPWD" "$DCACCOUNT"@"$DCNAME" \ |
294 |
binddn="$(univention-ssh "$DCPWD" "$DCACCOUNT"@"$DCNAME" \ |
| 295 |
/usr/sbin/udm users/user list --filter uid=$DCACCOUNT --logfile /dev/null | sed -ne 's|DN: ||p')" |
295 |
/usr/sbin/udm users/user list --filter uid=$DCACCOUNT --logfile /dev/null | sed -ne 's|^DN: ||p')" |
| 296 |
|
296 |
|
| 297 |
if [ -z "$binddn" ]; then |
297 |
if [ -z "$binddn" ]; then |
| 298 |
# Next check is the local ldapi interface |
298 |
# Next check is the local ldapi interface |