Sorry Paully, I thought i already replied it. The configs look good. Did a look back in time.. And Ahh.. Now this i missed. * yesterday, we changed the IP addresses of our DCs and the Wiki page did not mention (IMHO) 2 critical things... ... So you even missed more. Review all DNS entries for the problem DC and review your AD again. rgrep /etc and /var for all the old ip numbers and/or hostnames. There is still something you missed. But execpt that, you setup looks fine. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Paul > Littlefield via samba > Verzonden: dinsdag 3 maart 2020 16:22 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba_dnsupdate > > On 02/03/2020 16:05, Paul Littlefield via samba wrote: > > On 02/03/2020 15:33, L.P.H. van Belle via samba wrote: > >> Can you run the debug script, that might give me more info. > >> > >> > https://github.com/thctlo/samba4/raw/master/samba-collect-debu > g-info.sh Anonimze where needed. > >> > > > > Here you go. > > > > DC3 = https://pastebin.com/raw/5n3AzSKZ > > DC4 = https://pastebin.com/raw/tapv5NUN > > > > Paully > > > What news? > > ...and also, how can I disable the samba_dnsupdate command? > > Paully > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Hello Louis, My replies are inline below... On 03/03/2020 16:12, L.P.H. van Belle via samba wrote:> Sorry Paully, > > I thought i already replied it. The configs look good.Good, so it's not that then.> Review all DNS entries for the problem DC and review your AD again. > rgrep /etc and /var for all the old ip numbers and/or hostnames.Nope, nothing comes up on a search... root at dc3.mydomain.com ~ $ (screen) rgrep '192\.168\.0\.218' /etc /var/lib/samba root at dc3.mydomain.com ~ $ (screen)> There is still something you missed.Is there some sort of Samba cache?> But except that, you setup looks fine.So, what could be causing the weird IPv4 deletion and IPv6 insertion?! On every run of 'samba_dnsupdate' the Windows Servers have their IPv4 IP address deleted and their IPv6 equivalent inserted. So, I have to run a script every MINUTE to reverse this. How do I stop 'samba_dnsupdate' JUST for the purposes of seeing if THAT fixes it or if THAT is the cause?! Any suggestions are welcome right now, please. Regards, Paully
Im thinking here..> On every run of 'samba_dnsupdate' the Windows Servers have their IPv4 > IP address deleted and their IPv6 equivalent inserted.All i can think of whats left is : https://support.microsoft.com/en-us/help/929852/guidance-for-configuring-ipv6-in-windows-for-advanced-users Change the prio of the IP in windows networking. See if that helps/works, so ipv4 before ipv6 is what you can try. And are the windows servers using DHCP of static IP's. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Paul Littlefield [mailto:info at paully.co.uk] > Verzonden: woensdag 4 maart 2020 11:43 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] samba_dnsupdate > > Hello Louis, > > My replies are inline below... > > > On 03/03/2020 16:12, L.P.H. van Belle via samba wrote: > > Sorry Paully, > > > > I thought i already replied it. The configs look good. > > Good, so it's not that then. > > > > Review all DNS entries for the problem DC and review your AD again. > > rgrep /etc and /var for all the old ip numbers and/or hostnames. > > Nope, nothing comes up on a search... > > root at dc3.mydomain.com ~ $ (screen) rgrep '192\.168\.0\.218' > /etc /var/lib/samba > root at dc3.mydomain.com ~ $ (screen) > > > > There is still something you missed. > > Is there some sort of Samba cache? > > > > But except that, you setup looks fine. > > So, what could be causing the weird IPv4 deletion and IPv6 insertion?! > > On every run of 'samba_dnsupdate' the Windows Servers have > their IPv4 IP address deleted and their IPv6 equivalent inserted. > > So, I have to run a script every MINUTE to reverse this. > > How do I stop 'samba_dnsupdate' JUST for the purposes of > seeing if THAT fixes it or if THAT is the cause?! > > Any suggestions are welcome right now, please. > > Regards, > > Paully > >
On 04/03/2020 11:03, L.P.H. van Belle via samba wrote:> All I can think of what's left is : > https://support.microsoft.com/en-us/help/929852/guidance-for-configuring-ipv6-in-windows-for-advanced-usersI shall pass that on to my Windows Server guru.> Change the prio of the IP in windows networking. > See if that helps/works, so ipv4 before ipv6 is what you can try.OK.> And are the windows servers using DHCP or static IP's.DHCP. Thanks, Paul
.... Why o why does a server has a DHCP IP.. But ok.. That your choise. Disable ipv6 on the windows server try again. That just a checkmark and much less risk. That "should" work also. Or set dedicated ip's. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Paul Littlefield [mailto:info at paully.co.uk] > Verzonden: woensdag 4 maart 2020 16:47 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] samba_dnsupdate > > On 04/03/2020 11:03, L.P.H. van Belle via samba wrote: > > All I can think of what's left is : > > > https://support.microsoft.com/en-us/help/929852/guidance-for-c > onfiguring-ipv6-in-windows-for-advanced-users > > I shall pass that on to my Windows Server guru. > > > > Change the prio of the IP in windows networking. > > See if that helps/works, so ipv4 before ipv6 is what you can try. > > OK. > > > > And are the windows servers using DHCP or static IP's. > > DHCP. > > > Thanks, > > Paul > >