]> andersk Git - moira.git/blobdiff - include/moira_site.h
Add containers table and mcntmp table.
[moira.git] / include / moira_site.h
index 87244cb41e4dc60b20ab1218fbe6a8ef443720e1..ed1be23e192b7b524413dd7d91f133e75a74dea6 100644 (file)
 #define ACE_NAME 1
 #define ACE_END  2
 
-/* alias queries. */
+/* acl queries */
+
+#define ACL_HOST    0
+#define ACL_TARGET  1
+#define ACL_KIND    2
+#define ACL_LIST    3
+#define ACL_MODTIME 4
+#define ACL_MODBY   5
+#define ACL_MODWITH 6
+#define ACL_END     7
+
+/* alias queries */
 
 #define ALIAS_NAME  0
 #define ALIAS_TYPE  1
 #define KMAP_PRINCIPAL 1
 #define KMAP_END       2
 
-/* General List information Queries. */
+/* General List information Queries, v4. */
 
 #define L_NAME     0
 #define L_ACTIVE   1
 #define L_MAILLIST 4
 #define L_GROUP    5
 #define L_GID      6
-#define L_ACE_TYPE 7
-#define L_ACE_NAME 8
-#define L_DESC     9
-#define L_MODTIME  10
-#define L_MODBY    11
-#define L_MODWITH  12
-#define L_END      13
+#define L_NFSGROUP 7
+#define L_ACE_TYPE 8
+#define L_ACE_NAME 9
+#define L_MEMACE_TYPE 10
+#define L_MEMACE_NAME 11
+#define L_DESC     12
+#define L_MODTIME  13
+#define L_MODBY    14
+#define L_MODWITH  15
+#define L_END      16
 
 /* List Member information queries. */
 
 #define LM_MEMBER 2
 #define LM_END    3
 
+#define LM_TAG     3
+#define LM_TAG_END 4
+
 /* Machine information queries */
 
 #define M_NAME         0
 #define M_OS           3
 #define M_LOC          4
 #define M_CONTACT      5
-#define M_USE          6
-#define M_STAT         7
-#define M_STAT_CHNG    8
-#define M_SUBNET       9
-#define M_ADDR         10
-#define M_OWNER_TYPE   11
-#define M_OWNER_NAME   12
-#define M_ACOMMENT     13
-#define M_OCOMMENT     14
-#define M_CREATED      15
-#define M_CREATOR      16
-#define M_INUSE                17
-#define M_MODTIME      18
-#define M_MODBY                19
-#define M_MODWITH      20
-#define M_END          21
+#define M_BILL_CONTACT  6
+#define M_USE          7
+#define M_STAT         8
+#define M_STAT_CHNG    9
+#define M_SUBNET       10
+#define M_ADDR         11
+#define M_OWNER_TYPE   12
+#define M_OWNER_NAME   13
+#define M_ACOMMENT     14
+#define M_OCOMMENT     15
+#define M_CREATED      16
+#define M_CREATOR      17
+#define M_INUSE                18
+#define M_MODTIME      19
+#define M_MODBY                20
+#define M_MODWITH      21
+#define M_END          22
 
 /*  Machine to Cluster mapping */
 
 #define PRN_MODWITH    18
 #define PRN_END                19
 
+#define PRN_BANNER_NONE  0
 #define PRN_BANNER_FIRST 1
 #define PRN_BANNER_LAST  2
 
+/* Print Server queries */
+
+#define PRINTSERVER_HOST       0
+#define PRINTSERVER_KIND       1
+#define PRINTSERVER_TYPES      2
+#define PRINTSERVER_OWNER_TYPE 3
+#define PRINTSERVER_OWNER_NAME 4
+#define PRINTSERVER_LPC_ACL    5
+#define PRINTSERVER_MODTIME    6
+#define PRINTSERVER_MODBY      7
+#define PRINTSERVER_MODWITH    8
+#define PRINTSERVER_END                9
+
 /* PO box information queries */
 
 #define PO_NAME    0
 #define PO_TYPE    1
 #define PO_BOX     2
-#define PO_END     3
+#define PO_ADDR    3
+#define PO_END     4
 
 /* Quota queries */
 
 #define SN_MODWITH     11
 #define SN_END         12
 
-/* User Information queries */
+/* User Information queries, v3 */
 
 #define U_NAME    0
 #define U_UID     1
 #define U_SHELL   2
-#define U_LAST    3
-#define U_FIRST   4
-#define U_MIDDLE  5
-#define U_STATE   6
-#define U_MITID   7
-#define U_CLASS   8
-#define U_COMMENT 9
-#define U_SIGNATURE 10
-#define U_SECURE  11
-#define U_MODTIME 12
-#define U_MODBY   13
-#define U_MODWITH 14
-#define U_END     15
+#define U_WINCONSOLESHELL 3
+#define U_LAST    4
+#define U_FIRST   5
+#define U_MIDDLE  6
+#define U_STATE   7
+#define U_MITID   8
+#define U_CLASS   9
+#define U_COMMENT 10
+#define U_SIGNATURE 11
+#define U_SECURE  12
+#define U_MODTIME 13
+#define U_MODBY   14
+#define U_MODWITH 15
+#define U_END     16
 
 /* User states (the value of argv[U_STATE] from a user query) */
 
 #define USH_SHELL       1
 #define USH_END         2
 
-/* MITdir pref bits */
-
-#define DIRFLAGS_SUPPRESS 1
-#define DIRFLAGS_NONLOCAL 2
-
-/* Zehpyr ACL queries */
+/* Zephyr ACL queries */
 
 #define ZA_CLASS       0
 #define ZA_XMT_TYPE    1
 #define        ZA_IWS_ID       6
 #define        ZA_IUI_TYPE     7
 #define        ZA_IUI_ID       8
-#define        ZA_MODTIME      9
-#define        ZA_MODBY        10
-#define        ZA_MODWITH      11
-#define ZA_END         12
+#define ZA_OWNER_TYPE   9
+#define ZA_OWNER_ID     10
+#define        ZA_MODTIME      11
+#define        ZA_MODBY        12
+#define        ZA_MODWITH      13
+#define ZA_END         14
 
 
 
 #define MOIRA_MOTD_FILE        "/etc/smsdown"  /* make the server go to sleep */
 
 
+/* If you have a uid between 32000 and 32767, Ultrix will give you a
+ * root shell. Oops. This define ought to stay around as long as there
+ * are any Athenized Ultrix machines around.
+ */
+#define ULTRIX_ID_HOLE
+
+
 #endif /* _moira_site_ */           /* Do not add anything after this line. */
This page took 0.078974 seconds and 4 git commands to generate.