Comment 17 for bug 1048353

Revision history for this message
TheTerror (792781008-c) wrote : Reply:[Bug 1048353] Re: provision crashed with InvalidNetbiosName inguess_names(): The name ''...-...'' is not a valid NetBIOS name

Thanks for your reply.First I must say sorry.I have not check this email for a long time.And that ubuntu trouble - -also I have forgotten it for a long time.But still you reply for the question.Thanks very much.

 ------------------ 原始邮件 ------------------
  发件人: "Bug 1048353"<email address hidden>;
 发送时间: 2013年8月16日(星期五) 晚上10:00
 收件人: "dear hj"<email address hidden>;

 主题: [Bug 1048353] Re: provision crashed with InvalidNetbiosName inguess_names(): The name ''...-...'' is not a valid NetBIOS name

I found a workaround.
In my case the issue was the hostname containing dashes - and/or be longer than 15 characters.
Remove the dashes from your hostname and hosts file, reboot and samba4 should start.
I tried to reinstall then and run into the next bug, which is a password not complex enough error.
It's pretty broken.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1097765).
https://bugs.launchpad.net/bugs/1048353

Title:
  provision crashed with InvalidNetbiosName in guess_names(): The name
  ''...-...'' is not a valid NetBIOS name

Status in “samba4” package in Ubuntu:
  Confirmed

Bug description:
  This occurred after installing samba4. The samba4 package failed to
  install.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.10
  Package: samba4 4.0.0~beta2+dfsg1-3
  ProcVersionSignature: Ubuntu 3.5.0-14.15-generic 3.5.3
  Uname: Linux 3.5.0-14-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Sun Sep 9 15:19:51 2012
  ExecutablePath: /usr/share/samba/setup/provision
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120821)
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: python /usr/share/samba/setup/provision --realm=localdomain --domain=WORKGROUP --server-role=domain\ controller --use-ntvfs
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/share/samba/setup/provision', '--realm=localdomain', '--domain=WORKGROUP', '--server-role=domain controller', '--use-ntvfs']
  SourcePackage: samba4
  Title: provision crashed with InvalidNetbiosName in guess_names(): The name ''LOGAN-VIRTUALBOX'' is not a valid NetBIOS name
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1048353/+subscriptions
.