static char MACH_ID[] = "mach_id";
static char MACHINE[] = "machine";
static char MIDDLE[] = "middle";
-static char MIT_ID[] = "mit_id";
+static char MIT_ID[] = "clearid";
static char MOD1[] = "modtime";
static char MOD2[] = "modby";
static char MOD3[] = "modwith";
ausr_valobj,
7,
LOGIN,
- "users.login = \"%s\"",
+ "users.login = '%s'",
1,
USERS_ID,
0,
static char *gfbl_fields[] = {
LOGIN,
LOGIN, "fullname", "nickname", "home_addr",
- "home_phone", "office_address", "office_phone", "department",
+ "home_phone", "office_addr", "office_phone", "department",
"affiliation", MOD1, MOD2, MOD3,
};
static char *ufbl_fields[] = {
LOGIN,
"fullname", "nickname", "home_addr",
- "home_phone", "office_address", "office_phone", "department",
+ "home_phone", "office_addr", "office_phone", "department",
"affiliation",
};
VOuser0,
1,
"potype",
- "users.potype != \"NONE\" and users.users_id=%d",
+ "users.potype != 'NONE' and users.users_id=%d",
1,
0,
access_user,
amac_valobj,
3,
NAME,
- "imembers.name = uppercase(\"%s\")",
+ "imembers.name = uppercase('%s')",
1,
MACH_ID,
0,
aclu_valobj,
2,
NAME,
- "clusters.name = \"%s\"",
+ "clusters.name = '%s'",
1,
- "clu_id",
+ CLU_ID,
0,
0,
set_modtime,
acld_valobj,
2,
CLU_ID,
- "svc.clu_id = %d and svc.serv_label = \"%s\" and svc.serv_cluster = \"%s\"",
+ "svc.clu_id = %d and svc.serv_label = '%s' and svc.serv_cluster = '%s'",
3,
0,
0,
asin_valobj,
5,
NAME,
- "services.name = uppercase(\"%s\")",
+ "services.name = uppercase('%s')",
1,
0,
0,
asin_valobj,
1,
NAME,
- "services.name = uppercase(\"%s\")",
+ "services.name = uppercase('%s')",
1,
0,
access_service,
asin_valobj,
1,
NAME,
- "services.name = uppercase(\"%s\")",
+ "services.name = uppercase('%s')",
1,
0,
0,
asin_valobj,
1,
NAME,
- "services.name = uppercase(\"%s\")",
+ "services.name = uppercase('%s')",
1,
0,
0,
ashi_valobj,
3,
SERVICE,
- "serverhosts.service = uppercase(\"%s\") and serverhosts.mach_id = %d",
+ "serverhosts.service = uppercase('%s') and serverhosts.mach_id = %d",
2,
0,
access_service,
ashi_valobj,
3,
SERVICE,
- "serverhosts.service = uppercase(\"%s\") and serverhosts.mach_id = %d",
+ "serverhosts.service = uppercase('%s') and serverhosts.mach_id = %d",
2,
0,
access_service,
ashi_valobj,
3,
SERVICE,
- "serverhosts.service = uppercase(\"%s\") and serverhosts.mach_id = %d",
+ "serverhosts.service = uppercase('%s') and serverhosts.mach_id = %d",
2,
0,
access_service,
ashi_valobj,
3,
SERVICE,
- "serverhosts.service = uppercase(\"%s\") and serverhosts.mach_id = %d",
+ "serverhosts.service = uppercase('%s') and serverhosts.mach_id = %d",
2,
0,
access_service,
afil_valobj,
8,
LABEL,
- "filesys.label = \"%s\"",
+ "filesys.label = '%s'",
1,
FILSYS_ID,
0,
anfp_valobj,
2,
DIR,
- "nfsphys.mach_id = %d and nfsphys.dir = \"%s\"",
+ "nfsphys.mach_id = %d and nfsphys.dir = '%s'",
2,
"nfsphys_id",
0,
VOmach0,
1,
DIR,
- "nfsphys.mach_id = %d and nfsphys.dir = \"%s\"",
+ "nfsphys.mach_id = %d and nfsphys.dir = '%s'",
2,
"nfsphys_id",
0,
aqot_valobj,
4,
FILSYS_ID,
- "quota.filsys_id = %d and quota.type = \"%s\" and quota.entity_id = %d",
+ "quota.filsys_id = %d and quota.type = '%s' and quota.entity_id = %d",
3,
0,
0,
aqot_valobj,
4,
FILSYS_ID,
- "quota.filsys_id = %d and quota.type = \"%s\" and quota.entity_id = %d",
+ "quota.filsys_id = %d and quota.type = '%s' and quota.entity_id = %d",
3,
0,
0,
aqot_valobj,
4,
FILSYS_ID,
- "quota.filsys_id = %d and quota.type = \"%s\" and quota.entity_id = %d",
+ "quota.filsys_id = %d and quota.type = '%s' and quota.entity_id = %d",
3,
0,
0,
VOfilsys0user1,
3,
FILSYS_ID,
- "quota.filsys_id = %d and quota.type = \"USER\" and quota.entity_id = %d",
+ "quota.filsys_id = %d and quota.type = 'USER' and quota.entity_id = %d",
2,
0,
0,
VOfilsys0user1,
3,
FILSYS_ID,
- "quota.filsys_id = %d and quota.type = \"USER\" and quota.entity_id = %d",
+ "quota.filsys_id = %d and quota.type = 'USER' and quota.entity_id = %d",
2,
0,
0,
alis_valobj,
4,
NAME,
- "list.name = \"%s\"",
+ "list.name = '%s'",
1,
LIST_ID,
0,
azcl_valobj,
9,
CLASS,
- "zephyr.class = \"%s\"",
+ "zephyr.class = '%s'",
1,
0,
0,
uzcl_valobj,
9,
CLASS,
- "zephyr.class = \"%s\"",
+ "zephyr.class = '%s'",
1,
0,
0,
0,
0,
CLASS,
- "zephyr.class = \"%s\"",
+ "zephyr.class = '%s'",
1,
0,
0,
VOchar0,
1,
NAME,
- "services.name = \"%s\"",
+ "services.name = '%s'",
1,
0,
0,
apce_valobj,
3,
NAME,
- "printcap.name = \"%s\"",
+ "printcap.name = '%s'",
1,
0,
0,
0,
0,
NAME,
- "printcap.name = \"%s\"",
+ "printcap.name = '%s'",
1,
0,
0,
apdm_valobj,
2,
NAME,
- "palladium.name = \"%s\"",
+ "palladium.name = '%s'",
1,
0,
0,
0,
0,
NAME,
- "palladium.name = \"%s\"",
+ "palladium.name = '%s'",
1,
0,
0,
aali_valobj,
3,
"trans",
- "alias.name = \"%s\" and alias.type = \"%s\" and alias.trans = \"%s\"",
+ "alias.name = '%s' and alias.type = '%s' and alias.trans = '%s'",
3,
0,
0,
0,
0,
"trans",
- "alias.name = \"%s\" and alias.type = \"%s\" and alias.trans = \"%s\"",
+ "alias.name = '%s' and alias.type = '%s' and alias.trans = '%s'",
3,
0,
0,
VOchar0,
1,
NAME,
- "numvalues.name = \"%s\"",
+ "numvalues.name = '%s'",
1,
0,
0,
"gubl",
RETRIEVE,
"u",
- USERS,
- "login, text(uid), shell, last, first, middle, text(status), mit_id, mit_year, modtime, text(modby), modwith FROM users",
+ USERS,
+ "login, text(uid), shell, last, first, middle, text(status), clearid, type, modtime, text(modby), modwith FROM users",
gubl_fields,
12,
"login = '%s' AND users_id != 0",
RETRIEVE,
"u",
USERS,
- "login, text(uid), shell, last, first, middle, text(status), mit_id, mit_year, modtime, text(modby), modwith FROM users",
+ "login, text(uid), shell, last, first, middle, text(status), clearid, type, modtime, text(modby), modwith FROM users",
gubu_fields,
12,
"uid = %s AND users_id != 0",
RETRIEVE,
"u",
USERS,
- "login, text(uid), shell, last, first, middle, text(status), mit_id, mit_year, modtime, text(modby), modwith FROM users",
+ "login, text(uid), shell, last, first, middle, text(status), clearid, type, modtime, text(modby), modwith FROM users",
gubn_fields,
12,
"first = '%s' AND last = '%s' AND users_id != 0",
RETRIEVE,
"u",
USERS,
- "login, text(uid), shell, last, first, middle, text(status), mit_id, mit_year, modtime, text(modby), modwith FROM users",
+ "login, text(uid), shell, last, first, middle, text(status), clearid, type, modtime, text(modby), modwith FROM users",
gubc_fields,
12,
- "mit_year = uppercase('%s') AND u.users_id != 0",
+ "type = uppercase('%s') AND users_id != 0",
1,
&VDsortf,
},
RETRIEVE,
"u",
USERS,
- "login, text(uid), shell, last, first, middle, text(status), mit_id, mit_year, modtime, text(modby), modwith FROM users",
+ "login, text(uid), shell, last, first, middle, text(status), clearid, type, modtime, text(modby), modwith FROM users",
gubm_fields,
12,
- "mit_id = '%s' AND users_id != 0",
+ "clearid = '%s' AND users_id != 0",
1,
&VDsortf,
},
APPEND,
"u",
USERS,
- "INTO users (login, users_id, uid, shell, last, first, middle, status, mit_id, mit_year) VALUES ( '%s', numvalues.value, %s, '%s', '%s', '%s', '%s', %s, '%s', '%s')",
+ "INTO users (login, users_id, uid, shell, last, first, middle, status, clearid, type) VALUES ( '%s', numvalues.value, %s, '%s', '%s', '%s', '%s', %s, '%s', '%s')",
ausr_fields,
9,
"numvalues.name = 'users_id'",
UPDATE,
"u",
USERS,
- "users SET login = '%s', uid = %s, shell = '%s', last = '%s', first = '%s', middle = '%s', status = %s, mit_id = '%s', mit_year = '%s'",
+ "users SET login = '%s', uid = %s, shell = '%s', last = '%s', first = '%s', middle = '%s', status = %s, clearid = '%s', type = '%s'",
uusr_fields,
9,
"users_id = %d",
},
{
- /* Q_GKUM - GET_KERBEROS_USER_MAP */ /*! Benefits from FROM clause */
+ /* Q_GKUM - GET_KERBEROS_USER_MAP */
"get_kerberos_user_map",
"gkum",
RETRIEVE,
RETRIEVE,
"u",
USERS,
- "login, potype, text(pop_id) + \":\" + text(box_id), pmodtime, text(pmodby), pmodwith FROM users",
+ "login, potype, text(pop_id) + ':' + text(box_id), pmodtime, text(pmodby), pmodwith FROM users",
gpob_fields,
6,
"users_id = %d",
RETRIEVE,
"u",
USERS,
- "login, potype, text(pop_id) + \":\" + text(box_id) FROM users",
+ "login, potype, text(pop_id) + ':' + text(box_id) FROM users",
gpox_fields,
3,
"potype != 'NONE'",
RETRIEVE,
"u",
USERS,
- "login, potype, text(pop_id) + \":\" + text(box_id) FROM users",
+ "login, potype, text(pop_id) + ':' + text(box_id) FROM users",
gpox_fields,
3,
"potype = 'POP'",
RETRIEVE,
"u",
USERS,
- "login, potype, text(pop_id) + \":\" + text(box_id) FROM users",
+ "login, potype, text(pop_id) + ':' + text(box_id) FROM users",
gpox_fields,
3,
"potype = 'SMTP'",
},
{
- /* Q_GMCM - GET_MACHINE_TO_CLUSTER_MAP */ /*! Benefits from FROM clause */
+ /* Q_GMCM - GET_MACHINE_TO_CLUSTER_MAP */
"get_machine_to_cluster_map",
"gmcm",
RETRIEVE,
},
{
- /* Q_GCLD - GET_CLUSTER_DATA */ /*! Benefits from FROM clause */
+ /* Q_GCLD - GET_CLUSTER_DATA */
"get_cluster_data",
"gcld",
RETRIEVE,
},
{
- /* Q_GSHI - GET_SERVER_HOST_INFO */ /*! Benefits from FROM clause */
+ /* Q_GSHI - GET_SERVER_HOST_INFO */
"get_server_host_info",
"gshi",
RETRIEVE,
},
{
- /* Q_GSHA - GET_SERVER_HOST_ACCESS */ /*! Benefits from FROM clause */
+ /* Q_GSHA - GET_SERVER_HOST_ACCESS */
"get_server_host_access",
"gsha",
RETRIEVE,
},
{
- /* Q_GSLO - GET_SERVER_LOCATIONS */ /*! Benefits from FROM clause */
+ /* Q_GSLO - GET_SERVER_LOCATIONS */
"get_server_locations",
"gslo",
RETRIEVE,
},
{
- /* Q_GFSL - GET_FILESYS_BY_LABEL */ /*! Benefits from FROM clause */
+ /* Q_GFSL - GET_FILESYS_BY_LABEL */
"get_filesys_by_label",
"gfsl",
RETRIEVE,
},
{
- /* Q_GFSM - GET_FILESYS_BY_MACHINE */ /*! Benefits from FROM clause */
+ /* Q_GFSM - GET_FILESYS_BY_MACHINE */
"get_filesys_by_machine",
"gfsm",
RETRIEVE,
},
{
- /* Q_GFSN - GET_FILESYS_BY_NFSPHYS */ /*! Benefits from FROM clause */
+ /* Q_GFSN - GET_FILESYS_BY_NFSPHYS */
"get_filesys_by_nfsphys",
"gfsn",
RETRIEVE,
},
{
- /* Q_GFSG - GET_FILESYS_BY_GROUP */ /*! Benefits from FROM clause */
+ /* Q_GFSG - GET_FILESYS_BY_GROUP */
"get_filesys_by_group",
"gfsg",
RETRIEVE,
},
{
- /* Q_GFGM - GET_FSGROUOP_MEMBERS */ /*! */
+ /* Q_GFGM - GET_FSGROUOP_MEMBERS */
"get_fsgroup_members",
"gfgm",
RETRIEVE,
},
{
- /* Q_GANF - GET_ALL_NFSPHYS */ /*! */
+ /* Q_GANF - GET_ALL_NFSPHYS */
"get_all_nfsphys",
"ganf",
RETRIEVE,
},
{
- /* Q_GNFP - GET_NFSPHYS */ /*! */
+ /* Q_GNFP - GET_NFSPHYS */
"get_nfsphys",
"gnfp",
RETRIEVE,
},
{
- /* Q_GQOT - GET_QUOTA */ /*! */
+ /* Q_GQOT - GET_QUOTA */
"get_quota",
"gqot",
RETRIEVE,
},
{
- /* Q_GQBF - GET_QUOTA_BY_FILESYS */ /*! */
+ /* Q_GQBF - GET_QUOTA_BY_FILESYS */
"get_quota_by_filesys",
"gqbf",
RETRIEVE,
},
{
- /* Q_GNFQ - GET_NFS_QUOTAS */ /*! */
+ /* Q_GNFQ - GET_NFS_QUOTAS */
"get_nfs_quota",
"gnfq",
RETRIEVE,
},
{
- /* Q_GNQP - GET_NFS_QUOTAS_BY_PARTITION */ /*! */
+ /* Q_GNQP - GET_NFS_QUOTAS_BY_PARTITION */
"get_nfs_quotas_by_partition",
"gnqp",
RETRIEVE,
},
{
- /* Q_GPCE - GET_PRINTCAP_ENTRY */ /*! */
+ /* Q_GPCE - GET_PRINTCAP_ENTRY */
"get_printcap_entry",
"gpce",
RETRIEVE,