Rowland Penny
2025-Mar-20 15:49 UTC
[Samba] DNS management error accessing the domain zone
On Thu, 20 Mar 2025 12:39:10 -0300 Nicol?s Hermida <nhermida at init.ar> wrote:> Thank you Rowland for your reply. > > I have changed the nameserver to point to itself. At the moment the > error persists. > > I will be comparing the zones between domain controllers, and let you > know if there is something missing here.This has come up before and it is usually a difference in the dns records.> > Unfortunately the domain is using '.local' TLD. We know it is not RFC > compliant but we have inherited like this. This could be a possible > cause?No, just thought I would mention it, I know that at one time, for a short time, Microsoft recommended using '.local', but they soon stopped. Your problem now is that you will probably not be able to use Avahi on your Linux machines or connect any MacOS machines. Rowland
Nicolás Hermida
2025-Mar-31 20:50 UTC
[Samba] DNS management error accessing the domain zone
Rowland, when I try to query the dns zone directly from the samba domain controller (connected over ssh) I obtain this error message: Got NTLMSSP neg_flags=0x62088215 ERROR(runtime): uncaught exception - (3221422092, 'The stub received bad data.') File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279, in _run return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 1101, in run buflen, res = dns_conn.DnssrvEnumRecords2( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line 119, in f return attr(*args) ^^^^^^^^^^^ The command used to do the query was: samba-tool dns query -U username localhost example.local @ ALL Any ideas? Thanks in advance On Thu, Mar 20, 2025 at 12:51?PM Rowland Penny via samba <samba at lists.samba.org> wrote:> > On Thu, 20 Mar 2025 12:39:10 -0300 > Nicol?s Hermida <nhermida at init.ar> wrote: > > > Thank you Rowland for your reply. > > > > I have changed the nameserver to point to itself. At the moment the > > error persists. > > > > I will be comparing the zones between domain controllers, and let you > > know if there is something missing here. > > This has come up before and it is usually a difference in the dns > records. > > > > > Unfortunately the domain is using '.local' TLD. We know it is not RFC > > compliant but we have inherited like this. This could be a possible > > cause? > > No, just thought I would mention it, I know that at one time, for a > short time, Microsoft recommended using '.local', but they soon > stopped. Your problem now is that you will probably not be able to use > Avahi on your Linux machines or connect any MacOS machines. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba