Univention Bugzilla – Attachment 8233 Details for
Bug 40259
Local LDAP bind stops working during UCS@school rejoin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
three retries of remote univention-server-join
40259_univention-server-join_retry.patch (text/plain), 1.55 KB, created by
Daniel Tröder
on 2016-11-17 15:16:04 CET
(
hide
)
Description:
three retries of remote univention-server-join
Filename:
MIME Type:
Creator:
Daniel Tröder
Created:
2016-11-17 15:16:04 CET
Size:
1.55 KB
patch
obsolete
>Index: management/univention-join/univention-join >=================================================================== >--- management/univention-join/univention-join (Revision 74518) >+++ management/univention-join/univention-join (Arbeitskopie) >@@ -564,13 +564,25 @@ > > echo -n "Join Computer Account: " > args+=(-role "$server_role" -hostname "$hostname" -domainname "$domainname") >-# Copy local $DCPWD to remote $DCPWD' and invoke univention-join remotely >-univention-ssh --no-split "$DCPWD" "${DCACCOUNT}@${DCNAME}" \ >- 'DCPWD=$(mktemp) && trap "rm -f \"$DCPWD\"" EXIT && cat >"$DCPWD" && /usr/share/univention-join/univention-server-join -bindpwfile "$DCPWD"' \ >- "$(bashquote "${args[@]}")" <"$DCPWD" 2>&1 | >- tee "$USERTMP/secret" | >- grep -v '^KerberosPasswd="' | >- tee "$USERTMP/scrubbed" >>/var/log/univention/join.log >+for TRY in $(seq 3); >+ do >+ # Copy local $DCPWD to remote $DCPWD' and invoke univention-join remotely >+ univention-ssh --no-split "$DCPWD" "${DCACCOUNT}@${DCNAME}" \ >+ 'DCPWD=$(mktemp) && trap "rm -f \"$DCPWD\"" EXIT && cat >"$DCPWD" && /usr/share/univention-join/univention-server-join -bindpwfile "$DCPWD"' \ >+ "$(bashquote "${args[@]}")" <"$DCPWD" 2>&1 | >+ tee "$USERTMP/secret" | >+ grep -v '^KerberosPasswd="' | >+ tee "$USERTMP/scrubbed" >>/var/log/univention/join.log >+ if [ -s "$USERTMP/secret" ] >+ then >+ kpwd="$(sed -ne 's|^KerberosPasswd="\(.*\)" *|\1|p' <"$USERTMP/secret")" >+ if [ -n "$kpwd" ]; then >+ break >+ fi >+ fi >+ echo -n "." >+ sleep 20 >+done > > res_message="$(sed -ne 's/^E:\s*//p' "$USERTMP/scrubbed")" > if [ -z "$res_message" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40259
: 8233