Quinn Plattel
2012-Jul-09 10:27 UTC
[Samba] How do I join a samba 3 client to a samba 4 AD server?
Hi,
I have set up a standard samba4 server via
http://wiki.samba.org/index.php/Samba4/HOWTO and have tested that windows
machines can join the samba4 AD.
Now I am trying to join an Ubuntu machine to the same samba4 ad but it is
failing for me with the following message:
# net ADS JOIN -U Administrator
Enter Administrator's password:
Failed to join domain: failed to lookup DC info for domain
'MYDOMAIN.NET'
over rpc: Invalid server state
The client's smb.conf has the following changed lines from the default
installed smb.conf:
workgroup = MYDOMAIN
realm = MYDOMAIN.NET
security = ADS
The server's smb.conf has the following:
[global]
server role = active directory domain controller
workgroup = MYDOMAIN
realm = mydomain.net
netbios name = ADSRV
passdb backend = samba4
[netlogon]
path = /var/lib/samba/sysvol/mydomain.net/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
The server's samba4 version is Version 4.0.0beta3-GIT-UNKNOWN
The client's samba version is Version 3.6.3
--
Best regards/Med venlig hilsen,
Quinn Plattel
steve
2012-Jul-09 11:03 UTC
[Samba] How do I join a samba 3 client to a samba 4 AD server?
On 09/07/12 12:27, Quinn Plattel wrote:> > # net ADS JOIN -U Administrator > Enter Administrator's password: > Failed to join domain: failed to lookup DC info for domain 'MYDOMAIN.NET' > over rpc: Invalid server state >Hi Quinn We got a similar message when DNS wasn't working. We added the server IP to /etc/hosts and made the server IP the only DNS entry in /etc/resolv.conf on the client and we could then join. Otherwise make sure that host server on the client works. Good luck, Steve
Quinn Plattel
2012-Jul-09 12:17 UTC
[Samba] How do I join a samba 3 client to a samba 4 AD server?
Should be posted on the list too... br, Quinn On Mon, Jul 9, 2012 at 2:16 PM, Quinn Plattel <qiet72 at gmail.com> wrote:> Thanks Steve, > > Looks like I got it working now: > > # net ADS JOIN -U Administrator > Enter Administrator's password: > Using short domain name -- MYDOMAIN > Joined 'UBUNTU-TEST' to realm 'mydomain.net' > DNS Update for ubuntu-test.mydomain.net failed: ERROR_DNS_INVALID_MESSAGE > DNS update failed! > > Not sure why dns is not being updated - is it because I manually added > ubuntu-test to the dns server beforehand? > > br, > Quinn > > > On Mon, Jul 9, 2012 at 1:03 PM, steve <steve at steve-ss.com> wrote: > >> On 09/07/12 12:27, Quinn Plattel wrote: >> >> >>> # net ADS JOIN -U Administrator >>> Enter Administrator's password: >>> Failed to join domain: failed to lookup DC info for domain 'MYDOMAIN.NET >>> ' >>> over rpc: Invalid server state >>> >>> Hi Quinn >> >> We got a similar message when DNS wasn't working. We added the server IP >> to /etc/hosts and made the server IP the only DNS entry in /etc/resolv.conf >> on the client and we could then join. >> >> Otherwise make sure that >> host server >> on the client works. >> >> Good luck, >> Steve >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba> >> > > > > -- > Best regards/Med venlig hilsen, > Quinn Plattel >-- Best regards/Med venlig hilsen, Quinn Plattel