Bug 26475 - univention-join bricht ab mit "Unable to retrieve the kerberos realm"
univention-join bricht ab mit "Unable to retrieve the kerberos realm"
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.0-2
Assigned To: Arvid Requate
Andreas Büsching
: interim-2
: 26870 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-13 15:50 CET by Arvid Requate
Modified: 2012-07-20 15:24 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
shell quoting fix (795 bytes, patch)
2012-03-13 15:51 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-03-13 15:50:35 CET
Hin und wieder bricht univention-join ab mit

root@slave:~# univention-join 
univention-join: joins a computer to an ucs domain
copyright (c) 2001-2012 Univention GmbH, Germany

Insert DC Master Account : Administrator
Insert DC Master Password: 

Search DC Master:                                          done
Check DC Master:                                           done
Stop LDAP Server:                                          done
Stop Samba 4 Server:                                       done
Search ldap/base                                           done
Start LDAP Server:                                         done
Search LDAP binddn                                         done
Sync time                                                  done
Join Computer Account:                                     done
Sync ldap-backup.secret:                                   done
Check TLS connection                                       done
Download host certificate                                  done
Restart LDAP Server:                                       done
Sync Kerberos settings:                                    done
Unable to retrieve the kerberos realm. Try to use option -realm <kerberos/realm>
Comment 1 Arvid Requate univentionstaff 2012-03-13 15:51:15 CET
Created attachment 4265 [details]
shell quoting fix
Comment 2 Arvid Requate univentionstaff 2012-03-13 16:06:34 CET
Das tritt immer dann auf, wenn im Arbietsverzeichnis eine Datei mit einem Buchstaben liegt, auf die der Shell-globbing-Ausdruck [A-Za-z0-9] passt.
Comment 3 Arvid Requate univentionstaff 2012-05-02 10:02:40 CEST
*** Bug 26870 has been marked as a duplicate of this bug. ***
Comment 4 Arvid Requate univentionstaff 2012-05-02 20:02:47 CEST
univention-join ist für ucs3.0-2 mit dem Patch neu gebaut.
Changelog ist angepasst.
Comment 5 Andreas Büsching univentionstaff 2012-06-21 15:28:05 CEST
Mit 3.0-1 konnte ich das nachstellen:

root@slave:~# touch 1 g Z
root@slave:~# univention-join
univention-join: joins a computer to an ucs domain
copyright (c) 2001-2012 Univention GmbH, Germany
...
Check TLS connection                                       done
Download host certificate                                  done
Restart LDAP Server:                                       done
Sync Kerberos settings:                                    done
Unable to retrieve the kerberos realm. Try to use option -realm <kerberos/realm>

Nach dem Update auf 3.0-2:

root@slave:~# univention-join
univention-join: joins a computer to an ucs domain
copyright (c) 2001-2012 Univention GmbH, Germany
...
Check TLS connection                                       done
Download host certificate                                  done
Restart LDAP Server:                                       done
Sync Kerberos settings:                                    done
Configure 01univention-ldap-server-init.inst               done
...

ChangeLog-Eintrag existiert.
Comment 6 Stefan Gohmann univentionstaff 2012-07-20 15:24:45 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".