Lines 527-533
args+=(-role "$server_role" -hostname "$hostname" -domainname "$domainname")
|
Link Here
|
---|
|
527 |
# Copy local $DCPWD to remote $DCPWD' and invoke univention-join remotely |
527 |
# Copy local $DCPWD to remote $DCPWD' and invoke univention-join remotely |
528 |
univention-ssh --no-split "$DCPWD" "${DCACCOUNT}@${DCNAME}" \ |
528 |
univention-ssh --no-split "$DCPWD" "${DCACCOUNT}@${DCNAME}" \ |
529 |
'DCPWD=$(mktemp) && trap "rm -f \"$DCPWD\"" EXIT && cat >"$DCPWD" && /usr/share/univention-join/univention-server-join -bindpwfile "$DCPWD"' \ |
529 |
'DCPWD=$(mktemp) && trap "rm -f \"$DCPWD\"" EXIT && cat >"$DCPWD" && /usr/share/univention-join/univention-server-join -bindpwfile "$DCPWD"' \ |
530 |
"$(bashquote "${args[@]}")" <"$DCPWD" 2>&1 | tee "$USERTMP/log" >>/var/log/univention/join.log |
530 |
"$(bashquote "${args[@]}")" <"$DCPWD" 2>&1 | tee "$USERTMP/log" | sed -u -e 's/KerberosPasswd="[^"]*"//' >>/var/log/univention/join.log |
531 |
res_message="$(sed -n '/^E:/ { s/^E:\s*// p }' "$USERTMP/log")" |
531 |
res_message="$(sed -n '/^E:/ { s/^E:\s*// p }' "$USERTMP/log")" |
532 |
if [ -z "$res_message" ]; then |
532 |
if [ -z "$res_message" ]; then |
533 |
echo -e "\033[60Gdone" |
533 |
echo -e "\033[60Gdone" |