Hi, On Di 05 Jun 2018 19:03:59 CEST, Holger Levsen wrote:
On Tue, Jun 05, 2018 at 01:06:52PM +0200, Wolfgang Schweer wrote:> netbios name PROFITBRICKS-BUILD10-AMD64 is not a valid netbios name > ERROR: Invalid smb.conf > dpkg: error processing package samba-common-bin (--configure): > installed samba-common-bin package post-installation script subprocess > returned error exit status 255 IMO this bug should/could be fixed in jenkins.d.n by setting a valid netbios name via $(hostname).no. installation must not fail just because the hostname is profitbricks-build-amd64 or whatever.
IMHO, this is a samba bug...
For Debian Edu the netbios name is set to TJENER, but at the moment samba-common-bin gets installed, the vanilla smb.conf is tested (plus preseeded values w/ netbios name not preseedable), replaced with the Debian Edu one later (via Cfengine). So there's nothing Debian Edu can do to fix this bug (afaict).we can shorten the netbios name if using the hostname for the netbios name is problematic because its too long.Please check the attached patch.NACK, see above :)
I agree, but the fix needs to be in Samba. Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgp8eahFoQqu9.pgp
Description: Digitale PGP-Signatur