Home
last modified time | relevance | path

Searched refs:acct (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_44/usr/src/cmd/idmap/idmapd/
H A Didmap_lsa.c38 idmap_lsa_xlate_sid_type(const lsa_account_t *acct, idmap_id_type *ret_type) in idmap_lsa_xlate_sid_type() argument
40 switch (acct->a_sidtype) { in idmap_lsa_xlate_sid_type()
59 acct->a_sidtype, acct->a_name, acct->a_domain); in idmap_lsa_xlate_sid_type()
74 lsa_account_t acct; in lookup_lsa_by_sid() local
79 (void) memset(&acct, 0, sizeof (acct)); in lookup_lsa_by_sid()
85 rc = smb_lookup_sid(sid, &acct); in lookup_lsa_by_sid()
96 if (acct.a_status == NT_STATUS_NONE_MAPPED) { in lookup_lsa_by_sid()
100 if (acct.a_status != NT_STATUS_SUCCESS) { in lookup_lsa_by_sid()
103 sid, acct.a_status); in lookup_lsa_by_sid()
109 ret = idmap_lsa_xlate_sid_type(&acct, ret_type); in lookup_lsa_by_sid()
[all …]
/titanic_44/usr/src/pkg/manifests/
H A Dsystem-accounting-legacy.mf35 dir path=etc/acct group=adm owner=adm
45 dir path=usr/lib/acct
55 dir path=var/adm/acct group=adm mode=0775 owner=adm
56 dir path=var/adm/acct/fiscal group=adm mode=0775 owner=adm
57 dir path=var/adm/acct/nite group=adm mode=0775 owner=adm
58 dir path=var/adm/acct/sum group=adm mode=0775 owner=adm
63 file path=etc/acct/holidays original_name=SUNWacc:etc/acct/holidays \
65 file path=etc/init.d/acct group=sys mode=0744 \
66 original_name=SUNWacc:etc/init.d/acct preserve=true
71 file path=usr/lib/acct/acctcms mode=0555
[all …]
/titanic_44/usr/src/cmd/acct/
H A Dacctcms.c226 struct acct ab; /* SVR4 acct structure */ in tdofile()
228 } acct; in tdofile() local
243 if (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) in tdofile()
245 if (acct.ab.ac_flag & AEXPND) in tdofile()
259 while (fread(&acct.oab, sizeof(acct.oab), 1, stdin) == 1) { in tdofile()
260 CPYN(cmt.tcm_comm, acct.oab.ac_comm); in tdofile()
262 cpu = expand(acct.oab.ac_stime)+ in tdofile()
263 expand(acct.oab.ac_utime); in tdofile()
265 real = expand(acct.oab.ac_etime); in tdofile()
267 mem = expand(acct.oab.ac_mem); in tdofile()
[all …]
H A Dstartup.sh32 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 Dprdaily.sh35 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 Dremove.sh28 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 Drunacct.sh34 _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 Dmonacct.sh30 _sum=${_adm}/acct/sum
31 _fiscal=${_adm}/acct/fiscal
32 PATH=:/usr/lib/acct:/usr/bin:/usr/sbin
H A DMakefile31 SHFILE1= acct chargefee ckpacct dodisk lastlogin\
50 INITPROG= acct
66 LIBACCTD= $(ROOTLIB)/acct
67 ETCACCTD= $(ROOTETC)/acct
70 ACCTDIR= $(VARADMD)/acct
H A Dacct.sh38 /usr/lib/acct/startup
43 /usr/lib/acct/shutacct
H A Dlastlogin.sh32 PATH=/usr/lib/acct:/usr/bin:/usr/sbin
33 cd /var/adm/acct
/titanic_44/usr/src/cmd/lastcomm/
H A Dlc_pacct.c27 ok(int argc, char *argv[], int index, struct acct *acp) in ok()
34 strncmp(acp->ac_comm, argv[j], fldsiz(acct, ac_comm))) in ok()
42 struct acct buf[NACCT]; in lc_pacct()
44 struct acct *acp; in lc_pacct()
56 if (sb.st_size % sizeof (struct acct)) { in lc_pacct()
85 cp < &acp->ac_comm[fldsiz(acct, ac_comm)] && *cp; in lc_pacct()
94 fldsiz(acct, ac_comm), fldsiz(acct, ac_comm), in lc_pacct()
H A Dlastcomm.h61 #define NACCT (BUF_MAX / sizeof (struct acct))
62 #define BUF_SIZ (NACCT * sizeof (struct acct))
H A DMakefile32 SRCS= $(OBJS:%.o=%.c) $(EXPOBJ:%.o=../acct/lib/%.c)
58 %.o: ../acct/lib/%.c
/titanic_44/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_doorsvc.c603 lsa_account_t acct; in smbd_dop_lookup_name() local
606 bzero(&acct, sizeof (lsa_account_t)); in smbd_dop_lookup_name()
609 lsa_account_xdr, &acct) != 0) in smbd_dop_lookup_name()
612 if (*acct.a_domain == '\0') in smbd_dop_lookup_name()
613 (void) snprintf(buf, MAXNAMELEN, "%s", acct.a_name); in smbd_dop_lookup_name()
614 else if (strchr(acct.a_domain, '.') != NULL) in smbd_dop_lookup_name()
615 (void) snprintf(buf, MAXNAMELEN, "%s@%s", acct.a_name, in smbd_dop_lookup_name()
616 acct.a_domain); in smbd_dop_lookup_name()
618 (void) snprintf(buf, MAXNAMELEN, "%s\\%s", acct.a_domain, in smbd_dop_lookup_name()
619 acct.a_name); in smbd_dop_lookup_name()
[all …]
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c58 smb_lookup_sid(const char *sid, lsa_account_t *acct) in smb_lookup_sid() argument
62 assert((sid != NULL) && (acct != NULL)); in smb_lookup_sid()
64 bzero(acct, sizeof (lsa_account_t)); in smb_lookup_sid()
65 (void) strlcpy(acct->a_sid, sid, SMB_SID_STRSZ); in smb_lookup_sid()
67 rc = smb_door_call(SMB_DR_LOOKUP_SID, acct, lsa_account_xdr, in smb_lookup_sid()
68 acct, lsa_account_xdr); in smb_lookup_sid()
85 smb_lookup_name(const char *name, sid_type_t sidtype, lsa_account_t *acct) in smb_lookup_name() argument
92 assert((name != NULL) && (acct != NULL)); in smb_lookup_name()
97 bzero(acct, sizeof (lsa_account_t)); in smb_lookup_name()
98 acct->a_sidtype = sidtype; in smb_lookup_name()
[all …]
H A Dsmb_door_encdec.c154 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()
/titanic_44/usr/src/lib/libc/common/sys/
H A Dacct.s37 ANSI_PRAGMA_WEAK(acct,function)
41 SYSCALL_RVAL1(acct)
43 SET_SIZE(acct)
/titanic_44/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c787 lsa_account_t acct; in smbadm_lookup_name() local
790 if ((rc = smb_lookup_name(name, SidTypeUnknown, &acct)) != 0) { in smbadm_lookup_name()
796 if (acct.a_status != NT_STATUS_SUCCESS) { in smbadm_lookup_name()
798 name, xlate_nt_status(acct.a_status)); in smbadm_lookup_name()
801 (void) printf("\t%s\n", acct.a_sid); in smbadm_lookup_name()
807 lsa_account_t acct; in smbadm_lookup_sid() local
810 if ((rc = smb_lookup_sid(sidstr, &acct)) != 0) { in smbadm_lookup_sid()
816 if (acct.a_status != NT_STATUS_SUCCESS) { in smbadm_lookup_sid()
818 sidstr, xlate_nt_status(acct.a_status)); in smbadm_lookup_sid()
821 (void) printf("\t%s\\%s\n", acct.a_domain, acct.a_name); in smbadm_lookup_sid()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dacct.h48 struct acct { struct
86 extern int acct(const char *);
91 void acct(char);
/titanic_44/usr/src/lib/pyzfs/common/
H A Duserspace.py103 def process_one_raw(acct, options, prop, elem): argument
120 v = acct[key]
125 acct[key] = v
216 acct = dict()
221 process_one_raw(acct, options, prop, elem)
244 for val in acct.itervalues():
/titanic_44/exception_lists/
H A Dpmodes59 var/adm/acct
60 var/adm/acct/fiscal
61 var/adm/acct/nite
62 var/adm/acct/sum
/titanic_44/usr/src/cmd/bnu/
H A Dfio.c240 goto acct;
249 acct:
281 goto acct;
286 goto acct;
289 acct:
/titanic_44/usr/src/lib/libshell/amd64/src/cmd/ksh93/FEATURE/
H A Dacct11 #define _lib_acct 1 /* acct() in default lib(s) */
12 #define _sys_acct 1 /* #include <sys/acct.h> ok */
/titanic_44/usr/src/lib/libshell/i386/src/cmd/ksh93/FEATURE/
H A Dacct11 #define _lib_acct 1 /* acct() in default lib(s) */
12 #define _sys_acct 1 /* #include <sys/acct.h> ok */

1234