sync 3.0 into HEAD for the last time
[vlendec/samba-autobuild/.git] / source3 / include / rpc_ds.h
index 7350fdba1f9a7f52146a57596f067c0230a3d04e..e2622be532c2e2925ce7c8fad55012b1d76a574d 100644 (file)
@@ -27,6 +27,7 @@
 /* Opcodes available on PIPE_LSARPC_DS */
 
 #define DS_GETPRIMDOMINFO      0x00
+#define DS_NOP                 0xFF    /* no op -- placeholder */
 
 /* Opcodes available on PIPE_NETLOGON */
 
 
 /* macros for RPC's */
 
+/* DSROLE_PRIMARY_DOMAIN_INFO_BASIC */
+
+/* flags */
+
 #define DSROLE_PRIMARY_DS_RUNNING           0x00000001
 #define DSROLE_PRIMARY_DS_MIXED_MODE        0x00000002
 #define DSROLE_UPGRADE_IN_PROGRESS          0x00000004
 #define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT  0x01000000
 
+/* machine role */
+
+#define DSROLE_STANDALONE_SRV          2       
+#define DSROLE_DOMAIN_MEMBER_SRV       3
+#define DSROLE_BDC                     4
+#define DSROLE_PDC                     5
+
+
 typedef struct
 {
        uint16          machine_role;