]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/idl: Use nbt_server_type instead of netr_DsR_DcFlags netlogon.idl
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 May 2023 02:57:07 +0000 (14:57 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 May 2023 00:50:31 +0000 (00:50 +0000)
We should not keep two idential bitfield tables in two nearby IDL files.

However a number of python files in Samba and in freeIPA use the nbt.NBT_SERVER_*
constants, so these are the better names to keep.

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

index c6231c41aee45dd9ddb6c65fcc30dedfb59f0a2c..18caae604a24ec8065034389b5c0a8166a359948 100644 (file)
@@ -4,7 +4,7 @@
   who contributed!
 */
 
-import "misc.idl", "lsa.idl", "samr.idl", "security.idl";
+import "misc.idl", "lsa.idl", "samr.idl", "security.idl", "nbt.idl";
 
 #include "idl_types.h"
 
@@ -1224,7 +1224,7 @@ interface netlogon
                GUID domain_guid;
                [string,charset(UTF16)] uint16 *domain_name;
                [string,charset(UTF16)] uint16 *forest_name;
-               netr_DsR_DcFlags dc_flags;
+               nbt_server_type dc_flags;
                [string,charset(UTF16)] uint16 *dc_site_name;
                [string,charset(UTF16)] uint16 *client_site_name;
        } netr_DsRGetDCNameInfo;