View | Details | Raw Unified | Return to bug 45221 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/share/univention-join/univention-run-join-scripts (-1 / +1 lines)
 Lines 156-162    Link Here 
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" \

Return to bug 45221