| /illumos-gate/usr/src/cmd/idmap/idmapd/ |
| H A D | idmap_lsa.c | 40 idmap_lsa_xlate_sid_type(const lsa_account_t *acct, idmap_id_type *ret_type) in idmap_lsa_xlate_sid_type() argument 42 switch (acct->a_sidtype) { in idmap_lsa_xlate_sid_type() 61 acct->a_sidtype, acct->a_name, acct->a_domain); in idmap_lsa_xlate_sid_type() 76 lsa_account_t acct; in lookup_lsa_by_sid() local 81 (void) memset(&acct, 0, sizeof (acct)); in lookup_lsa_by_sid() 87 rc = smb_lookup_lsid(sid, &acct); in lookup_lsa_by_sid() 98 if (acct.a_status == NT_STATUS_NONE_MAPPED) { in lookup_lsa_by_sid() 102 if (acct.a_status != NT_STATUS_SUCCESS) { in lookup_lsa_by_sid() 105 sid, acct.a_status); in lookup_lsa_by_sid() 111 ret = idmap_lsa_xlate_sid_type(&acct, ret_type); in lookup_lsa_by_sid() [all …]
|
| /illumos-gate/usr/src/pkg/manifests/ |
| H A D | system-accounting-legacy.p5m | 35 dir path=etc/acct owner=adm group=adm 36 file path=etc/acct/holidays original_name=SUNWacc:etc/acct/holidays \ 39 file path=etc/init.d/acct group=sys mode=0744 \ 40 original_name=SUNWacc:etc/init.d/acct preserve=true 54 dir path=usr/lib/acct 55 file path=usr/lib/acct/acctcms mode=0555 56 file path=usr/lib/acct/acctcon mode=0555 57 file path=usr/lib/acct/acctcon1 mode=0555 58 file path=usr/lib/acct/acctcon2 mode=0555 59 file path=usr/lib/acct/acctdisk mode=0555 [all …]
|
| /illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_doorclnt.c | 49 lsa_account_t *acct, int); 50 static int smb_lookup_sid_int(const char *sid, lsa_account_t *acct, int); 62 smb_lookup_sid(const char *sid, lsa_account_t *acct) in smb_lookup_sid() argument 64 return (smb_lookup_sid_int(sid, acct, SMB_DR_LOOKUP_SID)); in smb_lookup_sid() 70 smb_lookup_lsid(const char *sid, lsa_account_t *acct) in smb_lookup_lsid() argument 72 return (smb_lookup_sid_int(sid, acct, SMB_DR_LOOKUP_LSID)); in smb_lookup_lsid() 76 smb_lookup_sid_int(const char *sid, lsa_account_t *acct, int dop) in smb_lookup_sid_int() argument 80 assert((sid != NULL) && (acct != NULL)); in smb_lookup_sid_int() 82 bzero(acct, sizeof (lsa_account_t)); in smb_lookup_sid_int() 83 (void) strlcpy(acct->a_sid, sid, SMB_SID_STRSZ); in smb_lookup_sid_int() [all …]
|
| H A D | smb_door_encdec.c | 154 lsa_account_encode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) in lsa_account_encode() argument 161 if (!lsa_account_xdr(&xdrs, acct)) in lsa_account_encode() 172 lsa_account_decode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) in lsa_account_decode() argument 179 bzero(acct, sizeof (lsa_account_t)); in lsa_account_decode() 180 if (!lsa_account_xdr(&xdrs, acct)) in lsa_account_decode()
|
| /illumos-gate/usr/src/cmd/acct/ |
| H A D | acctcms.c | 223 struct acct ab; /* SVR4 acct structure */ in tdofile() 225 } acct; in tdofile() local 240 if (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) in tdofile() 242 if (acct.ab.ac_flag & AEXPND) in tdofile() 256 while (fread(&acct.oab, sizeof(acct.oab), 1, stdin) == 1) { in tdofile() 257 CPYN(cmt.tcm_comm, acct.oab.ac_comm); in tdofile() 259 cpu = expand(acct.oab.ac_stime)+ in tdofile() 260 expand(acct.oab.ac_utime); in tdofile() 262 real = expand(acct.oab.ac_etime); in tdofile() 264 mem = expand(acct.oab.ac_mem); in tdofile() [all …]
|
| H A D | startup.sh | 32 PATH=/usr/lib/acct:/usr/bin:/usr/sbin 36 rm -f /var/adm/acct/sum/wtmp* 37 rm -f /var/adm/acct/sum/pacct* 38 rm -f /var/adm/acct/nite/lock*
|
| H A D | prdaily.sh | 35 PATH=/usr/lib/acct:/usr/bin:/usr/sbin 49 _nite=/var/adm/acct/nite 50 _lib=/usr/lib/acct 51 _sum=/var/adm/acct/sum
|
| H A D | remove.sh | 28 rm -f /var/adm/acct/sum/wtmp* 29 rm -f /var/adm/acct/sum/pacct* 30 rm -f /var/adm/acct/nite/lock*
|
| H A D | runacct.sh | 34 _nite=/var/adm/acct/nite 35 _sum=/var/adm/acct/sum 37 PATH=/usr/lib/acct:/usr/bin:/usr/sbin 305 cd ${_adm}/acct 326 cd ${_adm}/acct 346 [ -s /usr/lib/acct/runacct.local ] && /usr/lib/acct/runacct.local 353 cd ${_adm}/acct
|
| H A D | Makefile | 32 SHFILE1= acct chargefee ckpacct dodisk lastlogin\ 51 INITPROG= acct 67 LIBACCTD= $(ROOTLIB)/acct 68 ETCACCTD= $(ROOTETC)/acct 71 ACCTDIR= $(VARADMD)/acct
|
| H A D | monacct.sh | 30 _sum=${_adm}/acct/sum 31 _fiscal=${_adm}/acct/fiscal 32 PATH=:/usr/lib/acct:/usr/bin:/usr/sbin
|
| H A D | acct.sh | 38 /usr/lib/acct/startup 43 /usr/lib/acct/shutacct
|
| /illumos-gate/usr/src/cmd/smbsrv/smbd/ |
| H A D | smbd_doorsvc.c | 702 lsa_account_t acct; in smbd_dop_lookup_name() local 705 bzero(&acct, sizeof (lsa_account_t)); in smbd_dop_lookup_name() 708 lsa_account_xdr, &acct) != 0) in smbd_dop_lookup_name() 711 if (*acct.a_domain == '\0') in smbd_dop_lookup_name() 712 (void) snprintf(buf, MAXNAMELEN, "%s", acct.a_name); in smbd_dop_lookup_name() 713 else if (strchr(acct.a_domain, '.') != NULL) in smbd_dop_lookup_name() 714 (void) snprintf(buf, MAXNAMELEN, "%s@%s", acct.a_name, in smbd_dop_lookup_name() 715 acct.a_domain); in smbd_dop_lookup_name() 717 (void) snprintf(buf, MAXNAMELEN, "%s\\%s", acct.a_domain, in smbd_dop_lookup_name() 718 acct.a_name); in smbd_dop_lookup_name() [all …]
|
| /illumos-gate/usr/src/cmd/lastcomm/ |
| H A D | lc_pacct.c | 25 ok(int argc, char *argv[], int index, struct acct *acp) in ok() 32 strncmp(acp->ac_comm, argv[j], fldsiz(acct, ac_comm))) in ok() 40 struct acct buf[NACCT]; in lc_pacct() 42 struct acct *acp; in lc_pacct() 54 if (sb.st_size % sizeof (struct acct)) { in lc_pacct() 83 cp < &acp->ac_comm[fldsiz(acct, ac_comm)] && *cp; in lc_pacct() 92 fldsiz(acct, ac_comm), fldsiz(acct, ac_comm), in lc_pacct()
|
| H A D | lastcomm.h | 59 #define NACCT (BUF_MAX / sizeof (struct acct)) 60 #define BUF_SIZ (NACCT * sizeof (struct acct))
|
| /illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
| H A D | smbadm.c | 1009 lsa_account_t acct; in smbadm_lookup_name() local 1012 if ((rc = smb_lookup_name(name, SidTypeUnknown, &acct)) != 0) { in smbadm_lookup_name() 1018 if (acct.a_status != NT_STATUS_SUCCESS) { in smbadm_lookup_name() 1020 name, xlate_nt_status(acct.a_status)); in smbadm_lookup_name() 1025 acct.a_sid, acct.a_sidtype, acct.a_name, acct.a_domain); in smbadm_lookup_name() 1027 (void) printf("\t%s\n", acct.a_sid); in smbadm_lookup_name() 1034 lsa_account_t acct; in smbadm_lookup_sid() local 1037 if ((rc = smb_lookup_sid(sidstr, &acct)) != 0) { in smbadm_lookup_sid() 1043 if (acct.a_status != NT_STATUS_SUCCESS) { in smbadm_lookup_sid() 1045 sidstr, xlate_nt_status(acct.a_status)); in smbadm_lookup_sid() [all …]
|
| /illumos-gate/usr/src/lib/libc/common/sys/ |
| H A D | acct.S | 37 ANSI_PRAGMA_WEAK(acct,function) 41 SYSCALL_RVAL1(acct) 43 SET_SIZE(acct)
|
| /illumos-gate/usr/src/cmd/ast/libshell/amd64/FEATURE/ |
| H A D | acct | 5 #define _dat_acct 1 /* acct in default lib(s) */ 6 #define _lib_acct 1 /* acct() in default lib(s) */ 7 #define _sys_acct 1 /* #include <sys/acct.h> ok */
|
| /illumos-gate/usr/src/cmd/ast/libshell/i386/FEATURE/ |
| H A D | acct | 5 #define _dat_acct 1 /* acct in default lib(s) */ 6 #define _lib_acct 1 /* acct() in default lib(s) */ 7 #define _sys_acct 1 /* #include <sys/acct.h> ok */
|
| /illumos-gate/usr/src/cmd/ast/libshell/sparc/FEATURE/ |
| H A D | acct | 5 #define _dat_acct 1 /* acct in default lib(s) */ 6 #define _lib_acct 1 /* acct() in default lib(s) */ 7 #define _sys_acct 1 /* #include <sys/acct.h> ok */
|
| /illumos-gate/usr/src/cmd/ast/libshell/sparcv9/FEATURE/ |
| H A D | acct | 5 #define _dat_acct 1 /* acct in default lib(s) */ 6 #define _lib_acct 1 /* acct() in default lib(s) */ 7 #define _sys_acct 1 /* #include <sys/acct.h> ok */
|
| /illumos-gate/usr/src/lib/pyzfs/common/ |
| H A D | userspace.py | 104 def process_one_raw(acct, options, prop, elem): argument 121 v = acct[key] 126 acct[key] = v 217 acct = dict() 222 process_one_raw(acct, options, prop, elem) 245 for val in acct.values():
|
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | acct.h | 48 struct acct { struct 86 extern int acct(const char *); 91 void acct(char);
|
| /illumos-gate/exception_lists/ |
| H A D | pmodes | 59 var/adm/acct 60 var/adm/acct/fiscal 61 var/adm/acct/nite 62 var/adm/acct/sum
|
| /illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/ |
| H A D | implicit_dependencies.pretty | 1 {'acct': set(['accept4', 37 'acct', 379 'acct', 582 'acct', 716 'acct', 863 'acct', 959 'acct', 1055 'acct', 1086 'acct', 1182 'acct', [all …]
|