s3-passdb: move some defines out of rpc headers (they really belong to passdb).
authorGünther Deschner <gd@samba.org>
Thu, 26 Nov 2009 17:15:39 +0000 (18:15 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 26 Nov 2009 18:21:33 +0000 (19:21 +0100)
Guenther

source3/include/passdb.h
source3/include/rpc_misc.h

index c8e4bc21e41c4975335c85821b5d49550ee6a635..9be2a697a606ad932ad373a4b527f8ffadf497d5 100644 (file)
 #ifndef _PASSDB_H
 #define _PASSDB_H
 
 #ifndef _PASSDB_H
 #define _PASSDB_H
 
+/**********************************************************************
+ * Masks for mappings between unix uid and gid types and
+ * NT RIDS.
+ **********************************************************************/
+
+#define BASE_RID (0x000003E8L)
+
+/* Take the bottom bit. */
+#define RID_TYPE_MASK          1
+#define RID_MULTIPLIER                 2
+
+/* The two common types. */
+#define USER_RID_TYPE          0
+#define GROUP_RID_TYPE                 1
+
 /*
  * bit flags representing initialized fields in struct samu
  */
 /*
  * bit flags representing initialized fields in struct samu
  */
index 58ea91683a4b4add3896872b6adbade0d0569744..e86c47f39a7f57838002a70dfeea4bf3d41e456c 100644 (file)
 #define BUILTIN_ALIAS_RID_PRE_2K_ACCESS (0x0000022aL)
 
 
 #define BUILTIN_ALIAS_RID_PRE_2K_ACCESS (0x0000022aL)
 
 
-/********************************************************************** 
- * Masks for mappings between unix uid and gid types and
- * NT RIDS.
- **********************************************************************/
-
-#define BASE_RID (0x000003E8L)
-
-/* Take the bottom bit. */
-#define RID_TYPE_MASK          1
-#define RID_MULTIPLIER                 2
-
-/* The two common types. */
-#define USER_RID_TYPE          0
-#define GROUP_RID_TYPE                 1
-
-
 
 /********************************************************************** 
  * RPC policy handle used pretty much everywhere
 
 /********************************************************************** 
  * RPC policy handle used pretty much everywhere