]> andersk Git - moira.git/blobdiff - include/moira_site.h
Command line printer manipulation client, and build goo.
[moira.git] / include / moira_site.h
index e918ecfff01d6ea07f6321dcfd100ae84a44ecff..d95c70bb76d3ffeb8558d4c4609b4d07b6c7ee84 100644 (file)
 
 /* General List information Queries, v4. */
 
-#define L_NAME     0
-#define L_ACTIVE   1
-#define L_PUBLIC   2
-#define L_HIDDEN   3
-#define L_MAILLIST 4
-#define L_GROUP    5
-#define L_GID      6
-#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
+#define L_NAME            0
+#define L_ACTIVE          1
+#define L_PUBLIC          2
+#define L_HIDDEN          3
+#define L_MAILLIST        4
+#define L_GROUP           5
+#define L_GID             6
+#define L_NFSGROUP        7
+#define L_MAILMAN         8
+#define L_MAILMAN_SERVER  9
+#define L_ACE_TYPE        10
+#define L_ACE_NAME        11
+#define L_MEMACE_TYPE     12
+#define L_MEMACE_NAME     13
+#define L_DESC            14
+#define L_MODTIME         15
+#define L_MODBY           16
+#define L_MODWITH         17
+#define L_END             18
 
 /* List Member information queries. */
 
 #define M_LOC          4
 #define M_CONTACT      5
 #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
+#define M_ACCT_NUMBER   7
+#define M_USE          8
+#define M_STAT         9
+#define M_STAT_CHNG    10
+#define M_SUBNET       11
+#define M_ADDR         12
+#define M_OWNER_TYPE   13
+#define M_OWNER_NAME   14
+#define M_ACOMMENT     15
+#define M_OCOMMENT     16
+#define M_CREATED      17
+#define M_CREATOR      18
+#define M_INUSE                19
+#define M_MODTIME      20
+#define M_MODBY                21
+#define M_MODWITH      22
+#define M_END          23
 
 /*  Machine to Cluster mapping */
 
 
 #define SN_NAME                0
 #define SN_DESC                1
-#define SN_ADDRESS     2
-#define SN_MASK                3
-#define SN_LOW         4
-#define SN_HIGH                5
-#define SN_PREFIX      6
-#define SN_ACE_TYPE    7
-#define SN_ACE_NAME    8
-#define SN_MODTIME     9
-#define SN_MODBY       10
-#define SN_MODWITH     11
-#define SN_END         12
-
-/* User Information queries, v3 */
+#define SN_STATUS       2
+#define SN_CONTACT      3
+#define SN_ACCT_NUMBER  4
+#define SN_ADDRESS     5
+#define SN_MASK                6
+#define SN_LOW         7
+#define SN_HIGH                8
+#define SN_PREFIX      9
+#define SN_ACE_TYPE    10
+#define SN_ACE_NAME    11
+#define SN_MODTIME     12
+#define SN_MODBY       13
+#define SN_MODWITH     14
+#define SN_END         15
+
+/* Subnet statuses */
+#define SNET_STATUS_RESERVED         0
+#define SNET_STATUS_BILLABLE         1
+#define SNET_STATUS_PRIVATE_10MBPS   2
+#define SNET_STATUS_PRIVATE_100MBPS  3
+#define SNET_STATUS_PRIVATE_OTHER    4
+#define SNET_STATUS_RESNET_DORM      5
+#define SNET_STATUS_INFRASTRUCTURE   6
+#define SNET_STATUS_PRIVATE_1000MBPS 7
+#define SNET_STATUS_RESNET_FSILG     8
+
+/* User Information queries, v11 */
 
 #define U_NAME    0
 #define U_UID     1
 #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
+#define U_WINHOMEDIR 13
+#define U_WINPROFILEDIR 14
+#define U_SPONSOR_TYPE 15
+#define U_SPONSOR_NAME 16
+#define U_EXPIRATION 17
+#define U_MODTIME 18
+#define U_MODBY   19
+#define U_MODWITH 20
+#define U_CREATED 21
+#define U_CREATOR 22
+#define U_END     23
 
 /* User states (the value of argv[U_STATE] from a user query) */
 
-#define US_NO_LOGIN_YET 0
-#define US_REGISTERED   1
-#define US_NO_PASSWD    2
-#define US_DELETED      3
-#define US_NOT_ALLOWED  4
-#define US_ENROLLED    5
-#define US_ENROLL_NOT_ALLOWED 6
-#define US_HALF_ENROLLED 7
-#define US_END          8
+#define US_NO_LOGIN_YET               0
+#define US_REGISTERED                 1
+#define US_NO_PASSWD                  2
+#define US_DELETED                    3
+#define US_NOT_ALLOWED                4
+#define US_ENROLLED                   5
+#define US_ENROLL_NOT_ALLOWED         6
+#define US_HALF_ENROLLED              7
+#define US_NO_LOGIN_YET_KERBEROS_ONLY 8
+#define US_REGISTERED_KERBEROS_ONLY   9
+#define US_END                       10
 
 /* User shell queries */
 
 /* Container queries */
 
 #define CON_NAME        0
-#define CON_DESCRIPT    1
-#define CON_LOCATION    2
-#define CON_CONTACT     3
-#define CON_OWNER_TYPE  4
-#define CON_OWNER_NAME  5
-#define CON_MEMACE_TYPE 6
-#define CON_MEMACE_NAME 7
-#define CON_MODTIME     8
-#define CON_MODBY       9
-#define CON_MODWITH     10
-#define CON_END         11
+#define CON_PUBLIC      1
+#define CON_DESCRIPT    2
+#define CON_LOCATION    3
+#define CON_CONTACT     4
+#define CON_OWNER_TYPE  5
+#define CON_OWNER_NAME  6
+#define CON_MEMACE_TYPE 7
+#define CON_MEMACE_NAME 8
+#define CON_MODTIME     9
+#define CON_MODBY       10
+#define CON_MODWITH     11
+#define CON_END         12
 
 /* Directories & files used on the server machine: */
 
 #define NODCMFILE      "/etc/nodcm"    /* flag to inhibit DCM running */
 #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.044458 seconds and 4 git commands to generate.