- Timestamp:
- Nov 16, 2008, 10:06:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/accountadm/admof.c
r580 r882 29 29 #include <kerberosIV/krb.h> 30 30 #include <stdbool.h> 31 #include <syslog.h> 31 32 32 33 extern int pioctl(char *, afs_int32, struct ViceIoctl *, afs_int32); … … 211 212 rights &= ~parse_rights(nminus, &p, user); 212 213 #ifdef OVERLORDS 213 if (~rights & PRSFS_ADMINISTER && ismember(user, OVERLORDS)) 214 if (~rights & PRSFS_ADMINISTER && ismember(user, OVERLORDS)) { 215 openlog("admof", 0, LOG_AUTHPRIV); 216 syslog(LOG_NOTICE, "giving %s admin rights on %s", user, locker); 217 closelog(); 214 218 rights |= PRSFS_ADMINISTER; 219 } 215 220 #endif 216 221
Note: See TracChangeset
for help on using the changeset viewer.