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 Dlsalib.c51 * Lookup the given account and returns the account information
59 * If it's established the given account is well know or local
63 * If the name is a domain account, it may refer to a user, group or
64 * alias. If it is a local account, its type should be specified
65 * in the sid_type parameter. In case the account type is unknown
68 * account argument could be either [domain\]name or [domain/]name.
73 * NT_STATUS_NONE_MAPPED Couldn't translate the account
76 lsa_lookup_name(char *account, uint16_t type, smb_account_t *info) argument
84 (void) strsubst(account, '/', '\\');
[all...]
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 Dlsar_clnt.c71 smb_account_t *account);
171 * Obtain an LSA account handle. The lsa_handle must be a valid handle
711 * Lookup a sid and obtain the domain sid and account name.
716 smb_account_t *account)
721 if (lsa_handle == NULL || sid == NULL || account == NULL)
724 bzero(account, sizeof (smb_account_t));
731 account);
734 account);
737 if (!smb_account_validate(account)) {
738 smb_account_free(account);
715 lsar_lookup_sids(mlsvc_handle_t *lsa_handle, smb_sid_t *sid, smb_account_t *account) argument
752 lsar_lookup_sids1(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
812 lsar_lookup_sids2(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
880 lsar_lookup_sids3(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument
1122 lsar_enum_privs_account(mlsvc_handle_t *account_handle, smb_account_t *account) 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 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.c558 smb_account_t account; local
603 SidTypeUnknown, &account);
606 param->rids.rid[0] = account.a_rid;
608 param->rid_types.rid_type[0] = account.a_type;
610 smb_account_free(&account);
700 smb_account_t account; local
727 if (smb_sam_lookup_sid(sid, &account) != NT_STATUS_SUCCESS) {
737 (void) NDR_MSTRING(mxa, account.a_name,
753 smb_account_free(&account);
1554 * Retrieves information about the specified local group 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.c148 static void account(void);
189 account(); /* job accounting data */
592 account(void) function
605 } /* End of account */
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sam.c67 * Looks up the given name in local account databases:
72 * If the account is found, its information is populated
77 * The type of account is specified by 'type', which can be user,
92 * NT_STATUS_NOT_FOUND This is not a local account
93 * NT_STATUS_NONE_MAPPED It's a local account but cannot be
99 smb_account_t *account)
106 bzero(account, sizeof (smb_account_t));
123 account->a_type = SidTypeDomain;
124 account->a_name = strdup("");
125 account
98 smb_sam_lookup_name(char *domain, char *name, uint16_t type, smb_account_t *account) argument
208 smb_sam_lookup_sid(smb_sid_t *sid, smb_account_t *account) argument
482 smb_account_free(smb_account_t *account) argument
494 smb_account_validate(smb_account_t *account) argument
[all...]
H A Dsmb_util.c1014 * Parse a string to obtain the account and domain names as separate strings.
1035 smb_name_parse(char *arg, char **account, char **domain) argument
1039 *account = NULL;
1047 *account = arg;
1051 *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/cmd-inet/usr.bin/ftp/
H A Dcmds.c1369 (void) printf("usage: %s username [password] [account]\n",
1667 account(int argc, char *argv[]) function
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c533 * be easy and can be made in routine account().
577 static void account(void);
650 account(); /* job accounting data */
1027 account(void) function
1040 } /* End of account */
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c1064 char *account; local
1071 account = mdb_zalloc(user->u_domain_len + user->u_name_len + 2,
1075 (void) mdb_vread(account, user->u_domain_len,
1078 strcat(account, "\\");
1081 (void) mdb_vread(account + strlen(account),
1100 mdb_printf("User Account: %s\n\n", account);
1110 account);
/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

Completed in 116 milliseconds