[Bug 1585111] Re: net rpc join fails in Ubuntu 16.04

Hubert Higelin 1585111 at bugs.launchpad.net
Mon Jun 5 17:19:06 UTC 2017


I don’t now if this can help

1) On a Xubuntu 12,04 the samba shares became inaccessible after update
to Xubuntu 14.04 (Access denied for Windows an Samba clients). About one
year latter they became accessible again. Probably due to a samba
upgrade.

2) The shares became inaccessible again after upgrade to Xubuntu 16,04. I tried all combinations of client use spnego = no, client NTLMv2 auth = no, allow nt4 crypto = yes, require strong key = no without success. I removed the machine from the domain (Using Windows NT4 server manager).
The machine can’t join the NT4 domain : 
No realm has been specified! Do you really want to join an Active Directory server?
Failed to join domain: failed to lookup DC info for domain xxxxxx over rpc: Access denied

(The smb.conf is for a NT4 domain, not for Active Directory. I tried all
the cripto settings again.)


3) New machines with Xubuntu 16.04 and Ubuntu server 16.04.2 have never been able to join the domain : same message.

Primary an backup domain controller are Winndows NT4,0 Service pack 6.

As temporary solution, I moved the shares to Windows running in
VirtualBox with bridged network access.

-- 
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/1585111

Title:
  net rpc join fails in Ubuntu 16.04

Status in samba package in Ubuntu:
  Confirmed

Bug description:
  Trying to join a machine to a domain.

  This worked well in 12.04

  smb.conf
  [global]
  security = domain
  netbios name = LD7vb2
  realm = DOMAIN.COM
  # originally we had "password server" but this is the recommended setting
  wins server = ipbrick.DOMAIN.COM
  workgroup = DOMAIN
  # programatic UID calculation to make UIDs uniform accross machines
  idmap config * : range = 2000-302000
  idmap config * : base_rid = 0
  idmap config * : backend = rid
  winbind separator = +
  winbind enum users = yes
  winbind enum groups = yes
  winbind use default domain = yes
  #template homedir = /home/%D/%U
  # WA folderview vs long paths
  template homedir = /home/%U
  template shell = /bin/bash
  client use spnego = yes
  domain master = no

  Cant use it on Ubuntu 16.04

  doing: net rpc join -U administrator
  Result:
  No realm has been specified! Do you really want to join an Active Directory server?
  Enter administrator's password:
  smb_signing_good: BAD SIG: seq 1
  Failed to join domain: failed to lookup DC info for domin 'DOMAIN' over rpc: Access denied.

  
  Can use: smbclinet -L ipbrick -U administrator and see infos about the server.

  What can I do to join my machine to a domain with "net rpc join"?

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



More information about the foundations-bugs mailing list