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

Collapse All | Expand All

(-)96univention-samba4.inst (-4 / +8 lines)
 Lines 325-335    Link Here 
325
	
325
	
326
		if [ -n "$s4connector_dc" ]; then
326
		if [ -n "$s4connector_dc" ]; then
327
			echo "Join against S4 Connector server: $s4connector_dc"
327
			echo "Join against S4 Connector server: $s4connector_dc"
328
			samba-tool domain join "$domainname" "$samba4_role" --server "$s4connector_dc" "${samba_join_options[@]}"
328
			if samba-tool domain info "$s4connector_dc.$domainname"; then
329
			if [ $? -eq 0 ]; then
329
				samba-tool domain join "$domainname" "$samba4_role" --server "$s4connector_dc" "${samba_join_options[@]}"
330
				success=true
330
				if [ $? -eq 0 ]; then
331
					success=true
332
				else
333
					echo "Failed to join against the S4 Connector server ${s4connector_dc}."
334
				fi
331
			else
335
			else
332
				echo "Failed to join against the S4 Connector server ${s4connector_dc}."
336
				echo "Samba currently not available on S4 Connector server ${s4connector_dc}."
333
			fi
337
			fi
334
		fi
338
		fi
335
339

Return to bug 30836