librpc/idl: Merge missing bits into nbt_server_type in nbt.idl
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 May 2023 02:45:39 +0000 (14:45 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 May 2023 00:50:31 +0000 (00:50 +0000)
These bits are defined in netr_DsR_DcFlags in netlogon.idl already.

We need these new bits to announce FL 2012R2 and 2016 support.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
librpc/idl/nbt.idl

index 50b52a55dc492487175ada527f0498f96fba3265..021e9538bd7236e98fdd7d17e2cb74699c85c9da 100644 (file)
@@ -357,10 +357,12 @@ interface nbt
                NBT_SERVER_WRITABLE                     = 0x00000100,
                NBT_SERVER_GOOD_TIMESERV                = 0x00000200,
                NBT_SERVER_NDNC                         = 0x00000400,
-               NBT_SERVER_SELECT_SECRET_DOMAIN_6       = 0x00000800,
-               NBT_SERVER_FULL_SECRET_DOMAIN_6         = 0x00001000,
+               NBT_SERVER_SELECT_SECRET_DOMAIN_6       = 0x00000800, /* 2008 / RODC */
+               NBT_SERVER_FULL_SECRET_DOMAIN_6         = 0x00001000, /* 2008 */
                NBT_SERVER_ADS_WEB_SERVICE              = 0x00002000,
-               NBT_SERVER_DS_8                         = 0x00004000,
+               NBT_SERVER_DS_8                 = 0x00004000, /* 2012 */
+               NBT_SERVER_DS_9                 = 0x00008000, /* 2012R2 */
+               NBT_SERVER_DS_10                        = 0x00010000, /* 2016 */
                NBT_SERVER_HAS_DNS_NAME                 = 0x20000000,
                NBT_SERVER_IS_DEFAULT_NC                = 0x40000000,
                NBT_SERVER_FOREST_ROOT                  = 0x80000000