Samba AD start error - help...

Issues related to configuring your network
Post Reply
northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Samba AD start error - help...

Post by northpoint » 2017/09/19 19:18:01

Hello,

I am learning how to setup Samba as a AD. I have Centos7 loaded in a VM and downloaded and compiled/installed samba 4.6.7 . Everything was working fine and I ran samba-tool to create the AD. Creation went fine but I must have got something wrong. There was no DNS communication on port 135 it said. I am using the Internal Samba DNS. So, I decided to blow everything away and start over. I uninstalled samba and recompiled/ reinstalled. Now when I run samba-tool I get the following repeating error:

Code: Select all

/usr/local/samba/sbin/samba_dnsupdate: ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
/usr/local/samba/sbin/samba_dnsupdate:   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run
/usr/local/samba/sbin/samba_dnsupdate:     return self.run(*args, **kwargs)
/usr/local/samba/sbin/samba_dnsupdate:   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dns.py", line 1098, in run
/usr/local/samba/sbin/samba_dnsupdate:     raise e
I am thinking its a duplicate dns entry somewhere. I say somewhere as I do not know where to find where its stored or how to fix this. I have googled hours on this to no avail.

Sure would appreciate the education,

Northpoint
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Samba AD start error - help...

Post by northpoint » 2017/09/19 20:21:46

Well, Here is what I have done so far:

Went in and located anything 'samba' and deleted it. Reinstalled samba again and ran the samba-tools (samba -i) and same errors. At the end of the errors I have :

Code: Select all

Failed DNS update - with error code 29
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Samba AD start error - help...

Post by northpoint » 2017/09/20 12:15:51

Ok, I think I solved this.

resolv.conf still had my ISP's DNS servers listed. I subed my samba server instead and no longer getting the errors.

Now, I just have to disable resolv.conf updating ;)
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

Post Reply