Changeset 1600 for trunk/server
- Timestamp:
- Aug 21, 2010, 3:36:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/accountadm/admof.c
r1599 r1600 248 248 #ifdef SYSADMINS 249 249 if (~rights & PRSFS_ADMINISTER) { 250 snprintf(cell, MAXCELLCHARS, "%s", SYSADMIN_CELL);251 if (pr_Initialize(secLevel, (char *)AFSDIR_CLIENT_ETC_DIRPATH, cell) == 0) {252 if (ismember(user, SYSADMINS)) {250 char sysadmins[] = SYSADMINS, sysadmin_cell[] = SYSADMIN_CELL; 251 if (pr_Initialize(secLevel, (char *)AFSDIR_CLIENT_ETC_DIRPATH, sysadmin_cell) == 0) { 252 if (ismember(user, sysadmins)) { 253 253 openlog("admof", 0, LOG_AUTHPRIV); 254 254 syslog(LOG_NOTICE, "giving %s admin rights on %s", user, locker);
Note: See TracChangeset
for help on using the changeset viewer.