/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_door_encdec.c | 154 lsa_account_encode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) argument 161 if (!lsa_account_xdr(&xdrs, acct)) 172 lsa_account_decode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) argument 179 bzero(acct, sizeof (lsa_account_t)); 180 if (!lsa_account_xdr(&xdrs, acct))
|
H A D | smb_doorclnt.c | 58 smb_lookup_sid(const char *sid, lsa_account_t *acct) argument 62 assert((sid != NULL) && (acct != NULL)); 64 bzero(acct, sizeof (lsa_account_t)); 65 (void) strlcpy(acct->a_sid, sid, SMB_SID_STRSZ); 67 rc = smb_door_call(SMB_DR_LOOKUP_SID, acct, lsa_account_xdr, 68 acct, lsa_account_xdr); 85 smb_lookup_name(const char *name, sid_type_t sidtype, lsa_account_t *acct) argument 92 assert((name != NULL) && (acct != NULL)); 97 bzero(acct, sizeof (lsa_account_t)); 98 acct [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_lsa.c | 39 idmap_lsa_xlate_sid_type(const lsa_account_t *acct, idmap_id_type *ret_type) argument 41 switch (acct->a_sidtype) { 60 acct->a_sidtype, acct->a_name, acct->a_domain); 75 lsa_account_t acct; local 80 (void) memset(&acct, 0, sizeof (acct)); 86 rc = smb_lookup_sid(sid, &acct); 97 if (acct 149 lsa_account_t acct; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | acct.h | 47 /* SVR4 acct structure */ 48 struct acct { struct 86 extern int acct(const char *); 91 void acct(char); 100 #define AEXPND 0040 /* expanded acct structure */ 101 #define ACCTF 0300 /* record type: 00 = acct */
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | acct.c | 33 #include <sys/acct.h> 60 struct acct acctbuf; 82 &mod_syscallops, "acct(2) syscall", &acctsysent 87 &mod_syscallops32, "32-bit acct(2) syscall", &acctsysent 180 * acct() is a "weak stub" routine called from exit(). 316 * close old acctvp, and point acct() 376 acct(char st) function 426 * corrupted acct files.
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcms.c | 45 * file file in [pt]cms.h (if -s seen already) or acct.h (if not) 57 #include <sys/acct.h> 226 struct acct ab; /* SVR4 acct structure */ 227 struct o_acct oab; /* SVR3 acct structure */ 228 } acct; local 243 if (fread(&acct.ab, sizeof(acct.ab), 1, stdin) == 1) 245 if (acct.ab.ac_flag & AEXPND) 246 ver = 2; /* 4.0 acct fil 301 } acct; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 98 static void acct(); 510 acct(ginode()); 593 acct(struct dinode *ip) function
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_doorsvc.c | 589 lsa_account_t acct; local 592 bzero(&acct, sizeof (lsa_account_t)); 595 lsa_account_xdr, &acct) != 0) 598 if (*acct.a_domain == '\0') 599 (void) snprintf(buf, MAXNAMELEN, "%s", acct.a_name); 600 else if (strchr(acct.a_domain, '.') != NULL) 601 (void) snprintf(buf, MAXNAMELEN, "%s@%s", acct.a_name, 602 acct.a_domain); 604 (void) snprintf(buf, MAXNAMELEN, "%s\\%s", acct.a_domain, 605 acct 634 lsa_account_t acct; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1356 char acct[80]; local 1395 (void) fgets(acct, sizeof (acct) - 1, stdin); 1397 acct[strlen(acct) - 1] = '\0'; 1398 argv[3] = acct; argc++; 1669 char acct[50], *ap; local 1674 (void) strncpy(acct, *argv, 49); 1675 acct[49] = '\0'; 1679 (void) strncat(acct, *arg [all...] |
H A D | ftp.c | 361 char *user, *pass, *acct; local 364 user = pass = acct = 0; 365 if (ruserpass(host, &user, &pass, &acct) < 0) { 406 if (acct == NULL) 407 acct = mygetpass("Account:"); 408 n = command("ACCT %s", acct); 414 if (!aflag && acct != NULL) 415 (void) command("ACCT %s", acct);
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbadm.c | 833 lsa_account_t acct; local 836 if ((rc = smb_lookup_name(name, SidTypeUnknown, &acct)) != 0) { 842 if (acct.a_status != NT_STATUS_SUCCESS) { 844 name, xlate_nt_status(acct.a_status)); 847 (void) printf("\t%s\n", acct.a_sid); 853 lsa_account_t acct; local 856 if ((rc = smb_lookup_sid(sidstr, &acct)) != 0) { 862 if (acct.a_status != NT_STATUS_SUCCESS) { 864 sidstr, xlate_nt_status(acct.a_status)); 867 (void) printf("\t%s\\%s\n", acct 921 lsa_account_t acct; local 1399 lsa_account_t acct; local [all...] |
/illumos-gate/usr/src/man/man3head/ |
H A D | Makefile | 22 MANFILES= acct.h.3head \ 112 MANLINKS= acct.3head \ 201 acct.3head := LINKSRC = acct.h.3head
|