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

Stéphane Graber stgraber at stgraber.org
Sat Jan 11 19:17:59 UTC 2014


Public bug reported:

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

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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