Bug 16226 - samba-tool dns zoneoptions $DC_SERVER_IP _msdcs.addom.samba.example.com -P --aging=1 gives WERR_INTERNAL_DB_ERROR
Summary: samba-tool dns zoneoptions $DC_SERVER_IP _msdcs.addom.samba.example.com -P --...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DNS server (internal) (show other bugs)
Version: 4.25.0rc*
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba release manager
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-26 10:35 UTC by Stefan Metzmacher
Modified: 2026-09-09 15:16 UTC (History)
1 user (show)

See Also:


Attachments
Patches for v4-25-test (15.52 KB, text/plain)
2026-08-28 19:45 UTC, Stefan Metzmacher
vl: review+
Details
Patches for v4-24-test (15.52 KB, text/plain)
2026-08-28 19:46 UTC, Stefan Metzmacher
vl: review+
Details
Patches for v4-23-test (15.52 KB, text/plain)
2026-08-28 19:46 UTC, Stefan Metzmacher
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-08-26 10:35:10 UTC
In a default provision the _msdcs zone doesn't have any dNSProperty values,
which means dnsserver_db_do_reset_dword() will just return WERR_INTERNAL_DB_ERROR.

However it should be possible that new properties are added,
currently it's only possible to replace existing properties.
Comment 1 Samba QA Contact 2026-08-27 17:37:05 UTC
This bug was referenced in samba master:

b179abed6757ece911d58e562a2045edf2225a91
3ae706be815952a20ecfef427ab98f540fa6b8ac
731e541a0ef4fda598a1480e66aff9d26641d9da
Comment 2 Stefan Metzmacher 2026-08-28 19:45:49 UTC
Created attachment 19188 [details]
Patches for v4-25-test
Comment 3 Stefan Metzmacher 2026-08-28 19:46:15 UTC
Created attachment 19189 [details]
Patches for v4-24-test
Comment 4 Stefan Metzmacher 2026-08-28 19:46:40 UTC
Created attachment 19190 [details]
Patches for v4-23-test
Comment 5 Samba QA Contact 2026-09-01 21:29:03 UTC
This bug was referenced in samba v4-23-test:

7b9d77d6f92156698c6845a60d356320f07e227e
eecb39591d04aedbfaed161f8a0469618e3eff2d
a4ed25f7aa9b0aa910c4fc32032b9ec71b9d178c
Comment 6 Samba QA Contact 2026-09-01 21:56:59 UTC
This bug was referenced in samba v4-23-stable (Release samba-4.23.12):

7b9d77d6f92156698c6845a60d356320f07e227e
eecb39591d04aedbfaed161f8a0469618e3eff2d
a4ed25f7aa9b0aa910c4fc32032b9ec71b9d178c
Comment 7 Samba QA Contact 2026-09-02 00:09:04 UTC
This bug was referenced in samba v4-24-test:

48330acbf7e194df039cb8831c973f3f87fb67dc
e2ea69bf582bb0d9078b307877bd9ea80f4099ad
1fc39c45338510ca387697ad4e12c9289ed0d2af
Comment 8 Samba QA Contact 2026-09-04 00:19:03 UTC
This bug was referenced in samba v4-25-test:

e0fafab4c52fc91e2350154abc3f1c0e55f34b46
e36aee8ca6385dbb9a73c27a9623c70e5ad664ba
0b00baf153fb503a238d18e61125c8aa1955bd7a
Comment 9 Samba QA Contact 2026-09-06 15:37:50 UTC
This bug was referenced in samba v4-25-stable (Release samba-4.25.0rc2):

e0fafab4c52fc91e2350154abc3f1c0e55f34b46
e36aee8ca6385dbb9a73c27a9623c70e5ad664ba
0b00baf153fb503a238d18e61125c8aa1955bd7a
Comment 10 Samba QA Contact 2026-09-09 15:16:56 UTC
This bug was referenced in samba v4-24-stable (Release samba-4.24.7):

48330acbf7e194df039cb8831c973f3f87fb67dc
e2ea69bf582bb0d9078b307877bd9ea80f4099ad
1fc39c45338510ca387697ad4e12c9289ed0d2af