I'd like to change the NetBIOS name from the hostname to another name, so I can swap servers around without having to change the workgroup clients every time.
Workgroup environment, non AD.
How is that best done in v3.5 and/or v3.3?
According to Zentyal docs;
http://doc.zentyal.org/en/filesharing.html#know-limitationsYour hostname can not match your NETBIOS name, the NETBIOS name is generated using the left part of the domain, for example, if your hostname is ‘zentyal’ your domain can not be ‘zentyal.lan’, but it could be ‘zentyal-domain.lan’
The auto generated netbios name should have been "blue" since the domain is "blue.local" but the netbios name generated is the same as the hostname "server".
According to /etc/samba/smb.conf
[global]
workgroup = BLUE
realm = BLUE.LOCAL
netbios name = server
server string = server
server role = dc
Looking at;
/usr/share/zentyal/stubs/samba/smb.conf.mas the netbios name is an arg and I don't know where that arg is generated.