Univention Bugzilla – Attachment 4963 Details for
Bug 29969
system setup shows success while there are failed join scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Vorschlag für einen Patch:
bug29969.patch (text/plain), 1.95 KB, created by
Arvid Requate
on 2013-01-09 11:18:32 CET
(
hide
)
Description:
Vorschlag für einen Patch:
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2013-01-09 11:18:32 CET
Size:
1.95 KB
patch
obsolete
>Index: univention-system-setup/usr/lib/univention-system-setup/scripts/setup-join.sh >=================================================================== >--- univention-system-setup/usr/lib/univention-system-setup/scripts/setup-join.sh (Revision 35056) >+++ univention-system-setup/usr/lib/univention-system-setup/scripts/setup-join.sh (Arbeitskopie) >@@ -167,6 +167,19 @@ > progress_msg "$(gettext "Preparing domain join")" > progress_next_step > >+failed_message () { >+ ## Code copied from univention-join, FIXME: refactor into library function >+ echo "" >+ echo "" >+ echo "**************************************************************************" >+ echo "* Join failed! *" >+ echo "* Contact your system administrator *" >+ echo "**************************************************************************" >+ echo "* Message: $@" >+ echo "**************************************************************************" >+ ## NOTE: differs from univention-join: do not exit here >+} >+ > # Call join > if [ -d /var/lib/univention-ldap/ldap ]; then > rm -f /var/lib/univention-ldap/ldap/* >@@ -181,14 +194,17 @@ > ln -sf /var/univention-join/status /usr/lib/univention-install/.index.txt > > for i in /usr/lib/univention-install/*.inst; do >- echo "Configure $i" >- $i >+ echo "Configure $i" 2>&1 | tee -a /var/log/univention/join.log >+ if ! "$i" 2>&1 | tee -a /var/log/univention/join.log >+ then >+ failed_message "FAILED: $(basename "$i")" >+ fi > done > else > if [ -n "$dcaccount" -a -n "$password_file" ]; then > # Copy to a temporary password file, because univention-join > # will copy the file to the same directory on the master >- # with the given user credentials. This won't work. >+ # with the given user credentials. This will not work. > pwd_file="$(mktemp)" > cp "$password_file" "$pwd_file" > /usr/share/univention-join/univention-join -dcaccount "$dcaccount" -dcpwd "$pwd_file"
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 29969
: 4963