Loading debian/changelog +6 −5 Original line number Diff line number Diff line debian-edu-config (2.10.29) UNRELEASED; urgency=medium * Generate netbios compliant hostname (workaround for Samba bug #900908). The MATE desktop pulls in 'samba-common-bin' via 'caja-share' causing installations (except main-server) with 'desktop=mate' to break. Instead of e.g. 'auto-mac-11-22-33-44-55-66', now 'am-112233445566' is generated. (Closes: #900629). * Generate NetBIOS compliant hostname; this allows one to keep the hostname in case the MATE desktop is configured to use file sharing via Samba. Same applies if a roaming workstation is configured to connect to an active directory DC (via tools/setup-ad-client). Instead of e.g. 'auto-mac-11-22-33-44-55-66', now 'am-112233445566' is generated. (Closes: #900629). -- Wolfgang Schweer <wschweer@arcor.de> Sun, 17 Jun 2018 12:42:08 +0200 Loading sbin/update-hostname-from-ip +1 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,7 @@ ether2hostname() { else mac=$(ifconfig $INTERFACE | awk '/ether/ { print $2; exit}') fi # FIXME: generate netbios compliant hostname; workaround Samba bug #900908. # Needed because MATE desktop pulls in 'samba-common-bin' via 'caja-share'. # Generate NetBIOS compliant hostname. mac=$(echo $mac | sed 's/[^0-9a-f-]//gi') if [ "$mac" ] ; then fqdn="am-$mac.$DNSDOMAIN"; Loading Loading
debian/changelog +6 −5 Original line number Diff line number Diff line debian-edu-config (2.10.29) UNRELEASED; urgency=medium * Generate netbios compliant hostname (workaround for Samba bug #900908). The MATE desktop pulls in 'samba-common-bin' via 'caja-share' causing installations (except main-server) with 'desktop=mate' to break. Instead of e.g. 'auto-mac-11-22-33-44-55-66', now 'am-112233445566' is generated. (Closes: #900629). * Generate NetBIOS compliant hostname; this allows one to keep the hostname in case the MATE desktop is configured to use file sharing via Samba. Same applies if a roaming workstation is configured to connect to an active directory DC (via tools/setup-ad-client). Instead of e.g. 'auto-mac-11-22-33-44-55-66', now 'am-112233445566' is generated. (Closes: #900629). -- Wolfgang Schweer <wschweer@arcor.de> Sun, 17 Jun 2018 12:42:08 +0200 Loading
sbin/update-hostname-from-ip +1 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,7 @@ ether2hostname() { else mac=$(ifconfig $INTERFACE | awk '/ether/ { print $2; exit}') fi # FIXME: generate netbios compliant hostname; workaround Samba bug #900908. # Needed because MATE desktop pulls in 'samba-common-bin' via 'caja-share'. # Generate NetBIOS compliant hostname. mac=$(echo $mac | sed 's/[^0-9a-f-]//gi') if [ "$mac" ] ; then fqdn="am-$mac.$DNSDOMAIN"; Loading