Modify

Ticket #4702 (closed defect: fixed)

Opened 11 months ago

Last modified 9 months ago

samba.provision.InvalidNetbiosName: The name ''SUTTRIDGE-ZENTYAL'' is not a valid NetBIOS name

Reported by: steve@… Owned by: scabrero@…
Milestone: 3.0 Component: samba
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

Go to module status - try to enable file sharing - gets error.

Error

Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision --domain=ZENTYAL-DOMAIN --workgroup=ZENTYAL-DOMAIN --realm=ZENTYAL.LAN --dns-backend=BIND9_FLATFILE --server-role=dc --users=__USERS__ --host-name=suttridge-zentyal --adminpass=Zentyal1234 failed. 
Error output: Traceback (most recent call last):
   File '/usr/share/samba/setup/provision', line 262, in <module>
     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 1620, in provision
     sitename=sitename, rootdn=rootdn)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 471, in guess_names
     raise InvalidNetbiosName(netbiosname)
 samba.provision.InvalidNetbiosName: The name ''SUTTRIDGE-ZENTYAL'' is not a valid NetBIOS name

Command output: . 
Exit value: 1

Trace

Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision --domain=ZENTYAL-DOMAIN --workgroup=ZENTYAL-DOMAIN --realm=ZENTYAL.LAN --dns-backend=BIND9_FLATFILE --server-role=dc --users=__USERS__ --host-name=suttridge-zentyal --adminpass=Zentyal1234 failed. 
Error output: Traceback (most recent call last):
   File '/usr/share/samba/setup/provision', line 262, in <module>
     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 1620, in provision
     sitename=sitename, rootdn=rootdn)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 471, in guess_names
     raise InvalidNetbiosName(netbiosname)
 samba.provision.InvalidNetbiosName: The name ''SUTTRIDGE-ZENTYAL'' is not a valid NetBIOS name

Command output: . 
Exit value: 1 at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 72
	EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xbb...') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xbb...') called at /usr/share/perl5/EBox/CGI/Run.pm line 132
	EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xbb2c77ec)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xb99b2a5c)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xb99b2a5c)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbb2c77ec)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (78.0 KB) - added by anonymous 11 months ago.
zentyal.log

Change History

Changed 11 months ago by anonymous

zentyal.log

comment:1 Changed 11 months ago by jamor@…

  • Owner changed from jamor@… to scabrero@…
  • Component changed from base to samba
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to samba.provision.InvalidNetbiosName: The name ''SUTTRIDGE-ZENTYAL'' is not a valid NetBIOS name

comment:2 Changed 10 months ago by jamor@…

Another example of this problem -> #4704

comment:3 Changed 9 months ago by jacalvo@…

  • Status changed from new to closed
  • Resolution set to fixed

This was due to a long name (more than 15 characters), but it's currently fixed in the repository and a new package will be published really soon. Thanks for reporting!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.