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