Bug 27307 - Probleme beim Join von Windows 7 in eine Samba4-Domäne
Probleme beim Join von Windows 7 in eine Samba4-Domäne
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Arvid Requate
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-29 13:20 CEST by Timo Denissen
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

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Denissen univentionstaff 2012-05-29 13:20:48 CEST
In einer Teststellung ist aufgefallen, dass Windows 7 nicht in eine Samba 4 Domäne joinen konnte, als der Hostname vom DC Master und DC Backup 15 Zeichen lang war (master/backup-zentrale). Nach der Kürzung auf ucszen01/02 konnt der Joinvorgang durchgeführt werden und ein Domänenbeutzer konnte sich erfolgreich anmelden.
Comment 1 Timo Denissen univentionstaff 2012-05-29 13:21:37 CEST
Der Aufbau sah so aus, dass auf dem Master kein Samba installiert wurde, nur auf dem Backup. Als DNS wurde in Windows die IP des Backups eingetragen.
Comment 2 Stefan Gohmann univentionstaff 2012-05-29 13:47:42 CEST
Aus dem Installer Code:

        if len(hostname) > 15:
            # The warning will be displayed only once
            if hostname != self.hostname_last_warning:
                self.hostname_last_warning = hostname
                return _("A valid netbios name can not be longer than 15 characters. If samba is installed, the hostname should be shortened.")

Scheinbar tritt das Problem auch schon bei genau 15 Zeichen auf.
Comment 3 Stefan Gohmann univentionstaff 2012-05-31 22:28:04 CEST
Das sollte zur 3.0-2 nochmal geprüft werden.
Comment 4 Stefan Gohmann univentionstaff 2012-07-09 09:38:16 CEST
Ich kann es reproduzieren, sobald der Rechnername 14 Zeichen oder mehr ist, funktioniert der Join nicht mehr. Installer und System Setup code sollte entsprechend angepasst werden.
Comment 5 Stefan Gohmann univentionstaff 2012-07-09 11:53:59 CEST
Bei mehr als 13 Zeichen gibt es jetzt den Hinweis.
Comment 6 Arvid Requate univentionstaff 2012-07-11 18:52:46 CEST
Verified:
 * Fehler tritt mit 14 Buchstaben auf, Problemursache nicht einfach feststellbar.
 * Beschränkung auf 13 Buchstaben ist in univention-installer und system setup eingebaut.
 * Changelog OK
Comment 7 Stefan Gohmann univentionstaff 2012-07-20 15:24:56 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".