[Bug 1268180] Re: net join doesn't work by default since switch to 4.x

Stéphane Graber stgraber at stgraber.org
Thu Mar 20 22:39:51 UTC 2014


That's because you have the "samba" binary package installed, "net" is
provided by samba-common-bin so systems with just samba-common-bin
should be able to net join.

I suspect /var/lib/samba/private ought to be part of samba-common-bin or
samba-common instead of samba.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1268180

Title:
  net join doesn't work by default since switch to 4.x

Status in “samba” package in Ubuntu:
  Triaged

Bug description:
  I just installed a new clean 14.04 system and it looks like the
  default samba doesn't work by default for a standard net join:

  root at rproxy01:~# net join -U stgraber stgraber.net
  Enter stgraber's password:
  Failed to open /var/lib/samba/private/secrets.tdb
  Failed to join domain: Unable to open secrets database
  ADS join did not work, falling back to RPC...
  Unable to find a suitable server for domain STGRABER
  Unable to find a suitable server for domain STGRABER

  This appears to be entirely linked to the first error. Creating the
  missing /var/lib/samba/private directory and attempting the join again
  succeeds.

  The configuration I'm using is quite minimal and simple:
  [global]
      workgroup = STGRABER
      realm = stgraber.net
      server string = %h
      security = ads
      kerberos method = system keytab
      load printers = No

  
  I suspect fixing this should be as simple as having /var/lib/samba/private shipped by samba-common.

  Oh and since I couldn't use ubuntu-bug from that system (single stack IPv6 and Launchpad doesn't support IPv6), here are some package information:
  ii  python-samba                          2:4.0.13+dfsg-1ubuntu1           amd64        Python bindings for Samba
  ii  samba-common                          2:4.0.13+dfsg-1ubuntu1           all          common files used by both the Samba server and client
  ii  samba-common-bin                      2:4.0.13+dfsg-1ubuntu1           amd64        Samba common files used by both the server and the client
  ii  samba-libs:amd64                      2:4.0.13+dfsg-1ubuntu1           amd64        Samba core libraries

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



More information about the foundations-bugs mailing list