summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/rpc_netlogon.h19
-rw-r--r--source3/librpc/idl/netlogon.idl18
2 files changed, 18 insertions, 19 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index f0cff0d40a..1ad468308d 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -45,25 +45,6 @@ typedef struct hdr_account_lockout_string {
uint32 buffer;
} HDR_LOCKOUT_STRING;
-#define DSGETDC_VALID_FLAGS ( \
- DS_FORCE_REDISCOVERY | \
- DS_DIRECTORY_SERVICE_REQUIRED | \
- DS_DIRECTORY_SERVICE_PREFERRED | \
- DS_GC_SERVER_REQUIRED | \
- DS_PDC_REQUIRED | \
- DS_BACKGROUND_ONLY | \
- DS_IP_REQUIRED | \
- DS_KDC_REQUIRED | \
- DS_TIMESERV_REQUIRED | \
- DS_WRITABLE_REQUIRED | \
- DS_GOOD_TIMESERV_PREFERRED | \
- DS_AVOID_SELF | \
- DS_ONLY_LDAP_NEEDED | \
- DS_IS_FLAT_NAME | \
- DS_IS_DNS_NAME | \
- DS_RETURN_FLAT_NAME | \
- DS_RETURN_DNS_NAME )
-
struct DS_DOMAIN_CONTROLLER_INFO {
const char *domain_controller_name;
const char *domain_controller_address;
diff --git a/source3/librpc/idl/netlogon.idl b/source3/librpc/idl/netlogon.idl
index d701b1e1c9..6a7f4207e2 100644
--- a/source3/librpc/idl/netlogon.idl
+++ b/source3/librpc/idl/netlogon.idl
@@ -940,6 +940,24 @@ interface netlogon
/* one unkown bit still: DS_IP_VERSION_AGNOSTIC - gd*/
+ const int DSGETDC_VALID_FLAGS = (DS_FORCE_REDISCOVERY |
+ DS_DIRECTORY_SERVICE_REQUIRED |
+ DS_DIRECTORY_SERVICE_PREFERRED |
+ DS_GC_SERVER_REQUIRED |
+ DS_PDC_REQUIRED |
+ DS_BACKGROUND_ONLY |
+ DS_IP_REQUIRED |
+ DS_KDC_REQUIRED |
+ DS_TIMESERV_REQUIRED |
+ DS_WRITABLE_REQUIRED |
+ DS_GOOD_TIMESERV_PREFERRED |
+ DS_AVOID_SELF |
+ DS_ONLY_LDAP_NEEDED |
+ DS_IS_FLAT_NAME |
+ DS_IS_DNS_NAME |
+ DS_RETURN_FLAT_NAME |
+ DS_RETURN_DNS_NAME);
+
typedef [bitmap32bit] bitmap {
DS_FORCE_REDISCOVERY = 0x00000001,
DS_DIRECTORY_SERVICE_REQUIRED = 0x00000010,