Rowland Penny
2025-Apr-01 09:03 UTC
[Samba] DNS management error accessing the domain zone
On Mon, 31 Mar 2025 17:50:21 -0300 Nicol?s Hermida <nhermida at init.ar> wrote:> 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 advanceYou say this domain is old, could it be so old that it was originally a W2k or W2003 domain ? Or, to put it another way, do you have dns records in '_msdcs.example.local' ? Rowland
Nicolás Hermida
2025-Apr-03 12:10 UTC
[Samba] DNS management error accessing the domain zone
Hi Rowland. I'm not sure about the initial version for this domain. I can tell you that the _msdcs.example.local zone exists and has records. Although I can tell you that connecting with the Windows DNS Management console, I see a difference. Connecting to the Samba DC and accessing the _msdcs.example.local zone shows a subfolder called 'local' indicates an error and cannot be accessed. On the other hand, when connecting to the primary domain controller (Windows) within the _msdcs.example.local zone, the subfolder called 'local' does not exist. The rest of the subfolders are the same: dc, domains, gc, pdc, and are accessible. Bests, On Tue, Apr 1, 2025 at 6:05?AM Rowland Penny via samba <samba at lists.samba.org> wrote:> > On Mon, 31 Mar 2025 17:50:21 -0300 > Nicol?s Hermida <nhermida at init.ar> wrote: > > > 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 > > You say this domain is old, could it be so old that it was > originally a W2k or W2003 domain ? > > Or, to put it another way, do you have dns records in > '_msdcs.example.local' ? > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba