provision: when deriving netbiosname from hostname force the netbiosname to be compliant
authorMatthieu Patou <mat@matws.net>
Thu, 28 Oct 2010 09:09:51 +0000 (13:09 +0400)
committerMatthieu Patou <mat@samba.org>
Sat, 30 Oct 2010 14:26:22 +0000 (14:26 +0000)
commitdc0000e1a8f5233608d5bf59730200af3e041ce5
treed6ba903c00d6fe3be10b4c0792e84b01ba439769
parentedebb76a616c40565383363bc240c0df50a850f3
provision: when deriving netbiosname from hostname force the netbiosname to be compliant

It means no space/_/-/@.... and less than 16 chars.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104
source4/scripting/python/samba/provision.py