svn commit: samba r4999 - in trunk/source/include: .
jerry at samba.org
jerry at samba.org
Tue Jan 25 23:34:24 GMT 2005
Author: jerry
Date: 2005-01-25 23:34:24 +0000 (Tue, 25 Jan 2005)
New Revision: 4999
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4999
Log:
move some netlogon defines to the rpc_netlogon.h (part 1)
Modified:
trunk/source/include/rpc_netlogon.h
Changeset:
Modified: trunk/source/include/rpc_netlogon.h
===================================================================
--- trunk/source/include/rpc_netlogon.h 2005-01-25 23:34:15 UTC (rev 4998)
+++ trunk/source/include/rpc_netlogon.h 2005-01-25 23:34:24 UTC (rev 4999)
@@ -68,12 +68,22 @@
#define SAM_DATABASE_BUILTIN 0x01 /* BUILTIN users and groups */
#define SAM_DATABASE_PRIVS 0x02 /* Privileges */
+/* flags use when sending a NETLOGON_CONTROL request */
+
#define NETLOGON_CONTROL_SYNC 0x2
#define NETLOGON_CONTROL_REDISCOVER 0x5
#define NETLOGON_CONTROL_TC_QUERY 0x6
#define NETLOGON_CONTROL_TRANSPORT_NOTIFY 0x7
#define NETLOGON_CONTROL_SET_DBFLAG 0xfffe
+/* 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
+
#if 0
/* I think this is correct - it's what gets parsed on the wire. JRA. */
/* NET_USER_INFO_2 */
More information about the samba-cvs
mailing list