summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-27 12:01:13 +0100
committerGünther Deschner <gd@samba.org>2008-03-27 13:06:43 +0100
commit56e5187d844f8df06a49d02a417f9c77423c30c2 (patch)
treebd4fec22e6c220734db429b9c55a778d2a8fef4f /source3
parent6f7875abee6d3bbd08ca8d07ea8894d700300d6b (diff)
downloadsamba-56e5187d844f8df06a49d02a417f9c77423c30c2.tar.gz
samba-56e5187d844f8df06a49d02a417f9c77423c30c2.tar.bz2
samba-56e5187d844f8df06a49d02a417f9c77423c30c2.zip
Move the known NETLOGON_CONTROL reply flags to IDL.
Guenther (This used to be commit 4bf2a17c2b9abff45afd50ea93b96b2a080d9168)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_netlogon.h8
-rw-r--r--source3/librpc/idl/netlogon.idl12
2 files changed, 9 insertions, 11 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index 239fe0f7c6..45b087942c 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -23,14 +23,6 @@
#ifndef _RPC_NETLOGON_H /* _RPC_NETLOGON_H */
#define _RPC_NETLOGON_H
-/* Some flag values reverse engineered from NLTEST.EXE */
-/* used in the NETLOGON_CONTROL[2] reply */
-
-#define NL_CTRL_IN_SYNC 0x0000
-#define NL_CTRL_REPL_NEEDED 0x0001
-#define NL_CTRL_REPL_IN_PROGRESS 0x0002
-#define NL_CTRL_FULL_SYNC 0x0004
-
#define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000
#define INTERACTIVE_LOGON_TYPE 1
diff --git a/source3/librpc/idl/netlogon.idl b/source3/librpc/idl/netlogon.idl
index b1c5b12efc..d701b1e1c9 100644
--- a/source3/librpc/idl/netlogon.idl
+++ b/source3/librpc/idl/netlogon.idl
@@ -779,20 +779,26 @@ interface netlogon
/*****************/
/* Function 0x0C */
+ typedef [bitmap32bit] bitmap {
+ NETLOGON_CTRL_REPL_NEEDED = 0x0001,
+ NETLOGON_CTRL_REPL_IN_PROGRESS = 0x0002,
+ NETLOGON_CTRL_REPL_FULL_SYNC = 0x0004
+ } netr_InfoFlags;
+
typedef struct {
- uint32 flags;
+ netr_InfoFlags flags;
uint32 pdc_connection_status;
} netr_NETLOGON_INFO_1;
typedef struct {
- uint32 flags;
+ netr_InfoFlags flags;
uint32 pdc_connection_status;
[string,charset(UTF16)] uint16 *trusted_dc_name;
uint32 tc_connection_status;
} netr_NETLOGON_INFO_2;
typedef struct {
- uint32 flags;
+ netr_InfoFlags flags;
uint32 logon_attempts;
uint32 unknown1;
uint32 unknown2;