Mac OS X broadcasts the first 15 characters of your hostname via NetBIOS. This works for them so it could be a good solution for Ubuntu as well.
If you have to, you could perhaps set up a truncated hostname alias if the samba hostname must be reachable through /etc/hosts? That way the machine could be reached by both 15 and 63 (or 255) byte names, or am I wrong? If not, just truncate it in the smb.conf and notify user of the shorter NETBIOS name to browse for just like in OSX? I'm for the second option. BTW, make sure that you use 15 and not 16 characters as the limit for samba hosts... From wikipedia: "The NetBIOS name is 16 ASCII characters, however Microsoft limits the hostname to 15 characters and reserves the 16th character as a NetBIOS Suffix." -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/735072 Title: The hostname proposed by installer is too long for file sharing to work correctly. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs