Lines Matching refs:admintab
1846 struct zone_admintab admintab;
2110 while (zonecfg_getadminent(handle, &admintab) == Z_OK) {
2113 export_prop(of, PT_USER, admintab.zone_admin_user);
2114 export_prop(of, PT_AUTHS, admintab.zone_admin_auths);
2959 fill_in_admintab(cmd_t *cmd, struct zone_admintab *admintab,
2968 bzero(admintab, sizeof (*admintab));
2978 (void) strlcpy(admintab->zone_admin_user, pp->pv_simple,
2979 sizeof (admintab->zone_admin_user));
2982 (void) strlcpy(admintab->zone_admin_auths,
2983 pp->pv_simple, sizeof (admintab->zone_admin_auths));
2993 err = zonecfg_lookup_admin(handle, admintab);
3413 struct zone_admintab admintab;
3415 if ((err = fill_in_admintab(cmd, &admintab, B_FALSE)) != Z_OK) {
3420 if ((err = zonecfg_delete_admin(handle, &admintab,
5570 output_auth(FILE *fp, struct zone_admintab *admintab)
5573 output_prop(fp, PT_USER, admintab->zone_admin_user, B_TRUE);
5574 output_prop(fp, PT_AUTHS, admintab->zone_admin_auths, B_TRUE);
6091 struct zone_admintab admintab;
6370 while (zonecfg_getadminent(handle, &admintab) == Z_OK) {
6371 check_reqd_prop(admintab.zone_admin_user, RT_ADMIN,
6373 check_reqd_prop(admintab.zone_admin_auths, RT_ADMIN,
6375 if ((ret_val == Z_OK) && (getpwnam(admintab.zone_admin_user)
6379 admintab.zone_admin_user);
6383 admintab.zone_admin_auths, zone))) {