Bug 15863 - HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions ProductType is empty if samba is runnin as AD DC
Summary: HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions ProductType is empty if ...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.21.1
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-27 15:34 UTC by Michael Saxl
Modified: 2025-05-28 14:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saxl 2025-05-27 15:34:05 UTC
The product type in the registry of the samba ad dc server is an empty string.

The key is not writeable, so I think the value comes from

source3/registry/reg_backend_prod_options.c

where the case for ROLE_ACTIVE_DIRECTORY_DC is missing (interestingly ROLE_IPA_DC is present)

comparing with a MS AD DC the value seems still to be LanmanNT

Tested with the following command
net rpc registry getvalue 'HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions' ProductType -S server