LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-05-2013, 10:44 AM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Samba4 : samba-tool dns add


I have set up Samba4 on Ubuntu Server 13.04 64bit.

I have tried adding a Windows 7 Client machine which is set to resolve DNS from this server (using Samba's internal DNS Server) but I get an error message stating that the SRV record was queried successfully yet the domain controller could not be found. It states that common reasons for this are that there are no A records for the domain controller.

I know that the samba-tool command needs to be used as such:

samba-tool dns add <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>

If my server is called server01 and my domain is example.local and the IP address of the server is 192.168.1.1 what would the command be that I would need to enter in to setup an A record for my SERVER01 host.

(Providing that an A record is what I need to resolve this).............
 
Old 06-04-2013, 02:23 AM   #2
shm0
Member
 
Registered: Aug 2012
Location: Bahrain
Distribution: Slackware
Posts: 58

Rep: Reputation: 16
I think you have to do an additional step:

Code:
samba-tool domain join samdom.example.com DC -Uadministrator --realm=samdom.example.com
See here for full details. Also check the section
Quote:
Check required DNS entries of the new host
which deals with the missing A record problem.
 
Old 06-08-2013, 03:17 PM   #3
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
samba should automatically add the computer object in the directory when it joins the domain. (could be wrong)

Have you manually added the samba DNS server address in your Windows TCP/IP settings?

Regards
Marios
 
Old 06-10-2013, 01:41 AM   #4
shm0
Member
 
Registered: Aug 2012
Location: Bahrain
Distribution: Slackware
Posts: 58

Rep: Reputation: 16
Quote:
Originally Posted by mariose View Post
samba should automatically add the computer object in the directory when it joins the domain. (could be wrong)

Have you manually added the samba DNS server address in your Windows TCP/IP settings?
I haven't tried it. But according to the wiki page, it doesn't work 100% automatically and you have to add it manually.
 
Old 06-10-2013, 04:57 AM   #5
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Smile

Im not sure if i will be able to be much help.

You will need to make sure you can at least ping the samba server. Then set the samba servers/Active Directory (DNS server) IP address manually in Windows. Then see if you are able to join the domain.

Kind Regards
Marios
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba conf, samba4 florian_mrt Linux - Server 6 02-16-2014 12:16 PM
MX Record in Samba4 Internal DNS turiyain Linux - Server 0 02-22-2013 09:44 AM
unable to load samba4 using SAMBA AD DC HOWTO: seems to be bad instructions??? glynndavis Linux - Server 1 01-13-2013 08:27 PM
Any tool to compare DNS results from several DNS servers? Ulysses_ Linux - Networking 13 11-04-2010 03:36 PM
LXer: Find out DNS Server Version With DNS Server Fingeprinting Tool LXer Syndicated Linux News 0 12-21-2007 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration