invalid NetBIOS name: cant install fails

Bug #1155258 reported by Daniele Cruciani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

in samba4 install phase (postinst) I got:

Administrator password will be set randomly!
ERROR(<class 'samba.provision.InvalidNetbiosName'>): uncaught exception - The name ''DANIELE-SAMSUNG-RC730'' is not a valid NetBIOS name
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run
    use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1892, in provision
    sitename=sitename, rootdn=rootdn)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 514, in guess_names
    raise InvalidNetbiosName(netbiosname)

I can suggest to take the name from somewhere else or normalize someway (before calling this method)

Thank you

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.