contactdarin at posteo.net
2024-Oct-24 21:12 UTC
[Samba] Best way to get the current PDC emulator master via DNS (Possible bug?)
I second the request for creating a bug for this. I was working on testing Windows Server 2022 but I seem to have gotten sidetracked with some other issues. Once I get get Windows Server working I will reply back with how Windows does it. Darin > On 22/10/24 08:28, Rowland Penny via samba wrote: > On Mon, 21 Oct 2024 18:58:55 +0000 > Darin via samba <samba at lists.samba.org> wrote: > > Transferring the PDC_Emulator FSMO role does not create the dns > entry, > it is created by samba_dnsupdate, which is run every 10 minutes. > Is there a reason it doesn't clean up the old one? It seems odd to > have multiple DNS entries. > > > OK, the reason is, it wasn't added when the initial python code was > written and I never thought about it when I upgraded the code to > transfer/seize all 7 FSMO roles. Subsequently, I was told my python > code isn't really good enough for Samba, so I have no compulsion to fix > it.> Could you add a bugzilla bug for this? Not your python I mean, or > people's opinions thereof, but the samba_dnsupdate issue.> Douglas
contactdarin at posteo.net
2024-Oct-24 21:36 UTC
[Samba] Best way to get the current PDC emulator master via DNS (Possible bug?)
So I tested Windows to see how Windows does it. I set my Windows Server as the PDC Emulator and after some time the record at _ldap._tcp.pdc._msdcs. was set to the server only. When I transferred the PDC roll back to Samba the record for the Windows server remained but Samba added a record pointing to Samba. It seems that the only real issue with Samba is that it isn't cleaning up the old record. I hope this is useful to someone. On 10/24/2024 15:12, contactdarin at posteo.net wrote:> I second the request for creating a bug for this. I was working on > testing Windows Server 2022 but I seem to have gotten sidetracked with > some other issues. Once I get get Windows Server working I will reply > back with how Windows does it. > > Darin > > > > On 22/10/24 08:28, Rowland Penny via samba wrote: > > > On Mon, 21 Oct 2024 18:58:55 +0000 > > Darin via samba <samba at lists.samba.org> wrote: > > > > Transferring the PDC_Emulator FSMO role does not create > the dns > > entry, > > > it is created by samba_dnsupdate, which is run every 10 > minutes. > > > Is there a reason it doesn't clean up the old one? It seems > odd to > > have multiple DNS entries. > > > > > > OK, the reason is, it wasn't added when the initial python code > was > > written and I never thought about it when I upgraded the code to > > transfer/seize all 7 FSMO roles. Subsequently, I was told my > python > > code isn't really good enough for Samba, so I have no compulsion > to fix > > it. > > >> Could you add a bugzilla bug for this? Not your python I mean, or >> people's opinions thereof, but the samba_dnsupdate issue. > >> Douglas