--- /usr/share/univention-join/univention-run-join-scripts 2017-03-21 13:44:47.000000000 +0100 +++ /usr/share/univention-join/univention-run-join-scripts 2017-08-16 17:34:55.684000000 +0200 @@ -156,7 +156,7 @@ " binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \ /usr/sbin/udm users/user list --filter "'uid=$DCACCOUNT'" --logfile /dev/null | - sed -ne 's|DN: ||p')) + sed -ne 's|^DN: ||p')) if [ -z "$binddn" ]; then # Next check is the local ldapi interface binddn=($(univention-ssh --no-split "$DCPWD" "$DCACCOUNT"@"$ldap_master" \