Univention Bugzilla – Bug 27809
Warnung wenn Hostname == Windows-Domain
Last modified: 2012-07-20 15:24:04 CEST
Aufgefallen an Ticket #2012030521002896 Mindestens das Samba Provisioning von S4 schlägt fehl, wenn Hostname == Windows-Domain: "ProvisioningError: guess_names: Domain 'UCS30' must not be equal to short host name 'UCS30'!" [...] "Samba4 does not seem to be provisioned, exiting /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh" [...] ************************************************************** * ERROR: Failed to configure Samba4 as backend for bind. * * Please check the samba and the s4-connector logfile.* ************************************************************** [...] usw. Das das imho ohnehin verboten ist, sollten wir diesen Fall im Installer abfangen.
Für 3.0-2 ist eine angepasste DVD geplant.
*** Bug 25083 has been marked as a duplicate of this bug. ***
Warnung eingebaut, changelog angepasst. Neue DVD muss noch gebaut/getestet werden.
In der aktuellen Version sind zwei Syntaxfehler, Zeile 293 fehlt ein : am Ende und in Zeile 299 fehlt ) am Ende.
(In reply to comment #4) > In der aktuellen Version sind zwei Syntaxfehler, Zeile 293 fehlt ein : am Ende > und in Zeile 299 fehlt ) am Ende. Da ich den Installer eh neu gebaut habe, habe ich die beiden Punkte mit behoben.
Warnung sollte nun angezeigt werden, wenn Hostname und Windows Domäne gleich sind.
@@ -286,6 +287,15 @@ class object(content): self.move_focus( self.get_elem_id('IN_WINDOMAIN') ) return _("The length of the windows domain name is greater than 14 characters.") + if windows_domain.strip().lower() == hostname.strip().lower(): + if not self.ignore('windows_domain'): + # The warning will be displayed only once + if windows_domain != self.windomain_last_warning Syntax Fehler: ':' fehlt am Zeilenende + self.windomain_last_warning = windows_domain + if focus: + self.move_focus( self.get_elem_id('IN_WINDOMAIN') ) + return _("For Active Directory domains the hostname and the windows domain name may not be the same. This warning is shown only once, the installation can be continued with the name currently given." Syntax Fehler: ')' fehlt am Zelenenede Leerzeichen am Zeilenende. + if hostname.strip() == '' or hostname.strip() in ['localhost', 'local'] or hostname.strip().find(' ') != -1 or not self.syntax_is_hostname(hostname): if not self.ignore('hostname'): if focus:
(In reply to comment #7) Hat Stefan bereits behoben.
(In reply to comment #8) > (In reply to comment #7) > Hat Stefan bereits behoben. Ja. Meldung wird angezeigt. Übersetzung ist auch OK. Changelog OK
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".