Searched defs:account (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutmp.c58 * account - create a utmpx record for service
63 account(line) function
177 * getty_account - This is a copy of old getty account routine.
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.c74 * Attempt to remove the workstation trust account for this system.
94 * Attempt to remove an account from the SAM database on the specified
157 * Lookup an account name in the SAM database on the specified domain
158 * controller. Provides the account RID on success.
235 * Set the account control flags on some account for which we
251 * Set the password on some account, for which we have already
287 char *account,
323 &handle, server, account,
285 netr_change_password( char *server, char *account, char *old_pw_clear, char *new_pw_clear) argument
H A Dlsalib.c55 * Lookup the given account and returns the account information
63 * If it's established the given account is well know or local
67 * If the name is a domain account, it may refer to a user, group or
68 * alias. If it is a local account, its type should be specified
69 * in the sid_type parameter. In case the account type is unknown
72 * account argument could be either [domain\]name or [domain/]name.
77 * NT_STATUS_NONE_MAPPED Couldn't translate the account
80 lsa_lookup_name(char *account, uint16_t type, smb_account_t *info) argument
82 return (lsa_lookup_name_int(account, typ
87 lsa_lookup_lname(char *account, uint16_t type, smb_account_t *info) argument
93 lsa_lookup_name_int(char *account, uint16_t type, smb_account_t *info, boolean_t try_ad) argument
[all...]
H A Dlsar_svc.c323 * This is a request to open an account handle.
354 * This is the server side function for handling requests for account
436 * This is the server side function for handling requests for account
514 * Return the account name and NetBIOS domain name for the user making
560 * queries. Currently, we only support primary domain and account
662 * Service account domain policy queries. We return our local domain
705 smb_account_t account; local
724 status = lsa_lookup_name(accname, SidTypeUnknown, &account);
734 rids[0].sid_name_use = account.a_type;
735 rids[0].rid = account
793 smb_account_t account; local
880 lsarpc_s_UpdateDomainTable(ndr_xa_t *mxa, smb_account_t *account, struct mslsa_domain_table *domain_table, DWORD *domain_idx) argument
945 smb_account_t account; local
1053 smb_account_t account; local
1138 smb_account_t account; local
[all...]
H A Dlsar_clnt.c71 smb_account_t *account);
171 * Obtain an LSA account handle. The lsa_handle must be a valid handle
700 * Lookup a sid and obtain the domain sid and account name.
705 smb_account_t *account)
710 if (lsa_handle == NULL || sid == NULL || account == NULL)
713 bzero(account, sizeof (smb_account_t));
718 status = lsar_lookup_sids2(lsa_handle, (lsa_sid_t *)sid, account);
721 account);
724 if (!smb_account_validate(account)) {
725 smb_account_free(account);
704 lsar_lookup_sids(mlsvc_handle_t *lsa_handle, smb_sid_t *sid, smb_account_t *account) argument
739 lsar_lookup_sids1(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
799 lsar_lookup_sids2(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
867 lsar_lookup_sids3(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
1109 lsar_enum_privs_account(mlsvc_handle_t *account_handle, smb_account_t *account) argument
[all...]
H A Dsamr_clnt.c644 * Upon a successful lookup the information is returned in the account
651 smb_account_t *account)
659 name == NULL || account == NULL) {
663 bzero(account, sizeof (smb_account_t));
692 account->a_type = arg.rid_types.rid_type[0];
693 account->a_rid = arg.rids.rid[0];
969 char *account,
1003 len = smb_wcequiv_strlen(account);
1009 arg.username->str = (uint8_t *)account;
650 samr_lookup_domain_names(mlsvc_handle_t *domain_handle, char *name, smb_account_t *account) argument
966 samr_change_password( mlsvc_handle_t *handle, char *server, char *account, struct samr_encr_passwd *newpw, struct samr_encr_hash *oldpw) argument
H A Dsamr_svc.c620 smb_account_t account; local
665 SidTypeUnknown, &account);
668 param->rids.rid[0] = account.a_rid;
670 param->rid_types.rid_type[0] = account.a_type;
672 smb_account_free(&account);
760 smb_account_t account; local
787 if (smb_sam_lookup_sid(sid, &account) != NT_STATUS_SUCCESS) {
799 (void) NDR_MSTRING(mxa, account.a_name,
801 (void) NDR_MSTRING(mxa, account.a_name,
809 if ((account
[all...]
H A Dsrvsvc_svc.c1501 char account[MAXNAMELEN]; local
1521 (void) snprintf(account, MAXNAMELEN, "%s\\%s",
1537 info1->sesi1_uname = NDR_STRDUP(mxa, account);
1552 info2->sesi2_uname = NDR_STRDUP(mxa, account);
1568 info10->sesi10_uname = NDR_STRDUP(mxa, account);
1581 info502->sesi502_uname = NDR_STRDUP(mxa, account);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c147 static void account(void);
188 account(); /* job accounting data */
591 account(void) function
604 } /* End of account */
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sam.c68 * Looks up the given name in local account databases:
73 * If the account is found, its information is populated
78 * The type of account is specified by 'type', which can be user,
93 * NT_STATUS_NOT_FOUND This is not a local account
94 * NT_STATUS_NONE_MAPPED It's a local account but cannot be
100 smb_account_t *account)
107 bzero(account, sizeof (smb_account_t));
124 account->a_type = SidTypeDomain;
125 account->a_name = strdup("");
126 account
99 smb_sam_lookup_name(char *domain, char *name, uint16_t type, smb_account_t *account) argument
209 smb_sam_lookup_sid(smb_sid_t *sid, smb_account_t *account) argument
485 smb_account_free(smb_account_t *account) argument
499 smb_account_validate(smb_account_t *account) argument
[all...]
H A Dsmb_util.c1042 * Parse a string to obtain the account and domain names as separate strings.
1063 smb_name_parse(char *arg, char **account, char **domain) argument
1067 *account = NULL;
1075 *account = arg;
1079 *account = p;
/illumos-gate/usr/src/cmd/saf/
H A Dsac.c70 void account(struct sactab *, pid_t);
433 account(sp, pid);
528 * account - create a utmp record for a port monitor
535 account(struct sactab *sp, pid_t pid) function
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c534 * be easy and can be made in routine account().
578 static void account(void);
651 account(); /* job accounting data */
1028 account(void) function
1041 } /* End of account */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1366 (void) printf("usage: %s username [password] [account]\n",
1664 account(int argc, char *argv[]) function
/illumos-gate/usr/src/cmd/init/
H A Dinit.c567 static int account(short, struct PROC_TABLE *, char *);
1164 (void) account(DEAD_PROCESS, process, NULL);
1313 (void) account(DEAD_PROCESS, pp, NULL);
1421 (void) account(INIT_PROCESS, &tmproc,
2471 (void) account(DEAD_PROCESS, proc, NULL);
2651 * account() updates entries in utmpx and appends new entries to the end of
2655 * account() only blocks for INIT_PROCESS requests.
2660 account(short state, struct PROC_TABLE *process, char *program) function
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c1450 char *account; local
1458 account = mdb_zalloc(user->u_domain_len + user->u_name_len + 2,
1462 (void) mdb_vread(account, user->u_domain_len,
1465 strcat(account, "\\");
1468 (void) mdb_vread(account + strlen(account),
1490 mdb_printf("User Account: %s\n\n", account);
1501 addr, user->u_uid, user->u_ssnid, account);

Completed in 280 milliseconds