On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote:> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: >> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: >>> "dc" was the old name a few years ago >>> >>> I try to get rid of that now. >>> >>> host -t A dc... not found. We want that in the end. >>> >>> >> Ah, my mistake. The samba_dnsupdate script uses a file 'dns_update_list >> to check for records and create any missing ones, this uses >> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. > definitely, see the rgrep ;-) >Rename the cache file '/var/lib/samba/private/dns_update_cache', stop then restart Samba, this should cause the cache to be recreated, hopefully without 'dc' ;-) Rowland
Stefan G. Weichinger
2019-Jul-31 11:03 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Am 31.07.19 um 12:50 schrieb Rowland penny via samba:> On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote: >> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: >>> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: >>>> "dc" was the old name a few years ago >>>> >>>> I try to get rid of that now. >>>> >>>> host -t A dc... not found. We want that in the end. >>>> >>>> >>> Ah, my mistake. The samba_dnsupdate script uses a file 'dns_update_list >>> to check for records and create any missing ones, this uses >>> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. >> definitely, see the rgrep ;-) >> > Rename the cache file '/var/lib/samba/private/dns_update_cache', stop > then restart Samba, this should cause the cache to be recreated, > hopefully without 'dc' ;-)ok ... just to be clear here: on both DCs? I assume, no, only on the "first" deb02 with the many rgrep results. will attack this asap
Stefan G. Weichinger
2019-Jul-31 11:04 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Am 31.07.19 um 12:50 schrieb Rowland penny via samba:> On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote: >> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: >>> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: >>>> "dc" was the old name a few years ago >>>> >>>> I try to get rid of that now. >>>> >>>> host -t A dc... not found. We want that in the end. >>>> >>>> >>> Ah, my mistake. The samba_dnsupdate script uses a file 'dns_update_list >>> to check for records and create any missing ones, this uses >>> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. >> definitely, see the rgrep ;-) >> > Rename the cache file '/var/lib/samba/private/dns_update_cache', stop > then restart Samba, this should cause the cache to be recreated, > hopefully without 'dc' ;-)And I think, the rename in "SITES" has to be done first? I haven't yet done that to not make a mistake.
On 31/07/2019 12:03, Stefan G. Weichinger via samba wrote:> Am 31.07.19 um 12:50 schrieb Rowland penny via samba: >> On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote: >>> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: >>>> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: >>>>> "dc" was the old name a few years ago >>>>> >>>>> I try to get rid of that now. >>>>> >>>>> host -t A dc... not found. We want that in the end. >>>>> >>>>> >>>> Ah, my mistake. The samba_dnsupdate script uses a file 'dns_update_list >>>> to check for records and create any missing ones, this uses >>>> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. >>> definitely, see the rgrep ;-) >>> >> Rename the cache file '/var/lib/samba/private/dns_update_cache', stop >> then restart Samba, this should cause the cache to be recreated, >> hopefully without 'dc' ;-) > ok ... just to be clear here: > > on both DCs? I assume, no, only on the "first" deb02 with the many rgrep > results. > > will attack this asap >No. only the one you are having the problem with (which is presumably the one you renamed from 'dc') Rowland
On 31/07/2019 12:04, Stefan G. Weichinger via samba wrote:> Am 31.07.19 um 12:50 schrieb Rowland penny via samba: >> On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote: >>> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: >>>> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: >>>>> "dc" was the old name a few years ago >>>>> >>>>> I try to get rid of that now. >>>>> >>>>> host -t A dc... not found. We want that in the end. >>>>> >>>>> >>>> Ah, my mistake. The samba_dnsupdate script uses a file 'dns_update_list >>>> to check for records and create any missing ones, this uses >>>> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. >>> definitely, see the rgrep ;-) >>> >> Rename the cache file '/var/lib/samba/private/dns_update_cache', stop >> then restart Samba, this should cause the cache to be recreated, >> hopefully without 'dc' ;-) > And I think, the rename in "SITES" has to be done first? I haven't yet > done that to not make a mistake. > >Let me get this out of my system first: Renaming anything in AD is, in my opinion, a stupid idea (except for workstations). Having said that, if you rename a DC, you have to change it everywhere (now do you see why I think it is a stupid idea) Rowland
L.P.H. van Belle
2019-Jul-31 11:10 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
I suggest this order. You need to start with to rename/remove /var/lib/samba/private/dns_update_cache Stop/start samba. Then wait 5 min. Then verify DNS and AD objects, dont change "yet".. Inform us first if you see strange things. Then check replication again.> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 31 juli 2019 13:06 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] GPO issues - getting SYSVOL cleaned up again > > On 31/07/2019 12:03, Stefan G. Weichinger via samba wrote: > > Am 31.07.19 um 12:50 schrieb Rowland penny via samba: > >> On 31/07/2019 11:40, Stefan G. Weichinger via samba wrote: > >>> Am 31.07.19 um 12:32 schrieb Rowland penny via samba: > >>>> On 31/07/2019 11:22, Stefan G. Weichinger via samba wrote: > >>>>> "dc" was the old name a few years ago > >>>>> > >>>>> I try to get rid of that now. > >>>>> > >>>>> host -t A dc... not found. We want that in the end. > >>>>> > >>>>> > >>>> Ah, my mistake. The samba_dnsupdate script uses a file > 'dns_update_list > >>>> to check for records and create any missing ones, this uses > >>>> '${HOSTNAME}', so it looks like somewhere 'dc' still exists. > >>> definitely, see the rgrep ;-) > >>> > >> Rename the cache file > '/var/lib/samba/private/dns_update_cache', stop > >> then restart Samba, this should cause the cache to be recreated, > >> hopefully without 'dc' ;-) > > ok ... just to be clear here: > > > > on both DCs? I assume, no, only on the "first" deb02 with > the many rgrep > > results. > > > > will attack this asap > > > No. only the one you are having the problem with (which is presumably > the one you renamed from 'dc') > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: lists.samba.org/mailman/options/samba > >