Searched defs:user (Results 176 - 200 of 283) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c57 char user[SMB_USERNAME_MAXLEN]; member in struct:__anon212
420 (void) smb_getsamaccount(ipc_info.user, SMB_USERNAME_MAXLEN);
437 (void) strlcpy(ipc_info.user, plain_user, sizeof (ipc_info.user));
452 (void) smb_getsamaccount(ipc_info.user, SMB_USERNAME_MAXLEN);
465 (void) strlcpy(ipc_info.user, ipc_orig_info.user,
466 sizeof (ipc_info.user));
476 (void) strlcpy(buf, ipc_info.user, buflen);
577 * Temporary fbt for dtrace until user spac
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c401 char *user; local
431 if (decode_secbuf_str(&mb, &hdr.h_user, &user) < 0)
449 user_info.lg_username = (user) ? user : "";
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_ofile.c1219 * Encode open file information into a buffer; needed in user space to
1241 smb_user_t *user; local
1249 user = of->f_user;
1251 ASSERT(user);
1298 fi->fi_namelen = user->u_domain_len + user->u_name_len + 2;
1301 user->u_domain, user->u_name);
1320 * A query of user and group quotas may span multiple requests.
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c94 boolean_t do_namecheck; /* check password against user's gecos */
147 get_passwd_defaults(pam_handle_t *pamh, char *user, struct pwdefaults *p) argument
251 * we find out where the user information came from (which repository),
255 * If the user comes from a repository other than FILES/NIS
257 * any checks on the user, but let the repository decide instead.
273 result = __get_authtoken_attr(user, pwu_rep, attr);
296 dummy.pw_name = user;
483 * user entering FooBar1234 with PASSLENGTH=6, MINDIGIT=4, while
502 * So the final string written to the user might become
520 * So the final string written to the user migh
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c179 * int ldap_user_to_authenticate(user, rep, auth_user, privileged)
185 * we can't determine whether the user is "privileged" in the LDAP
187 * user had privileges. For our purposes, we say that the user is
188 * privileged if he/she is attempting to change another user's
192 ldap_user_to_authenticate(char *user, pwu_repository_t *rep, argument
200 if (strcmp(user, "root") == 0)
203 if ((pw = getpwnam_from(user, rep, REP_LDAP)) == NULL)
237 STRDUP_OR_ERR(*auth_user, user, res);
248 STRDUP_OR_RET(*auth_user, user);
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dauxprop.c955 const char *user, unsigned ulen)
978 sparams, flags, user, ulen);
1006 sparams, flags, user, ulen);
953 _sasl_auxprop_lookup(sasl_server_params_t *sparams, unsigned flags, const char *user, unsigned ulen) argument
/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c667 "There is more than one user or default user entry"));
676 "Duplicate user or group entries"));
679 "Missing user/group owner, other, mask entry"));
708 return (dgettext(TEXT_DOMAIN, "Invalid user or group"));
748 sid_to_id(char *sid, boolean_t user, uid_t *id) argument
768 if (user)
797 if (user)
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c102 * Adds the calling tool as a user of the volume.
111 * CFG_USER_FIRST: Indicates that this is the first user of this
117 * CFG_USER_REPEAT: Indicates that this user has already registered for
121 cfg_add_user(CFGFILE* cfg, char *path, char *cnode, char *user) argument
171 /* whoops, not found. Add as new user */
174 user);
201 while (q && (strcmp(q, user) != 0)) {
207 /* not listed as a user */
210 data->path, data->node, data->u.users, user);
263 * Removes a user fro
281 cfg_rem_user(CFGFILE *cfg, char *path, char *cnode, char *user) argument
481 cfg_vol_enable(CFGFILE *cfg, char *path, char *ctag, char *user) argument
528 cfg_vol_disable(CFGFILE *cfg, char *path, char *ctag, char *user) argument
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c603 * Read .rhosts as the local user to avoid NFS mapping the root uid
656 char *user; local
684 * Both host and user ``names'' can be netgroups,
686 * preserved for user names because we break out
704 user = p;
709 user = p;
737 if (user[0]) {
738 if (user[0] == '+' && user[1] == 0)
741 else if (user[
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c63 match_job(int id, char *user, int ac, char *av[]) argument
69 return (0); /* "current" user match */
72 else if (strcmp(user, av[i]) == 0)
73 return (0); /* user match */
80 * or argument passed is user
93 /* argument passed is user */
211 char *user = "nobody"; local
220 "job-originating-user-name", &user);
225 if ((ac > 0) && (match_job(id, user, a
265 char *user = ""; local
591 char *user, *svc_name, *passphrase; local
[all...]
H A Dlpstat.c580 "requesting-user-name-allowed", &str);
591 "requesting-user-name-denied", &str);
775 match_user(char *user, char **list) argument
780 if (strcmp(user, list[i]) == 0)
796 char *user = "unknown"; local
810 "job-originating-user-name", &user);
812 if ((users != NULL) && (match_user(user, users) < 0))
911 user);
915 user, hos
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c306 #define protoname() (pw ? pw->pw_name : user)
325 static char user[15], group[15]; local
352 sprintf(user, ":%d", stb.st_uid);
1169 extern char user[];
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c209 char *host = NULL, *user = NULL; local
326 user = optarg;
416 if (user == NULL)
417 user = pwd->pw_name;
420 * if the user disables krb5 on the cmdline (-K), then skip
423 * if the user does not disable krb5 or enable krb5 on the
568 pwd->pw_name, user,
653 rem = rcmd_af(&host, portnumber, pwd->pw_name, user, args,
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c70 user, variable
88 unkid, /*user doesn't have login on this machine*/
212 fprintf(stderr, "%s: Unknown user %s\n", argv[0], optarg);
216 fprintf(stderr, "%s: Unknown user %s\n", argv[0], optarg);
395 user = expand(a->ac_utime);
396 cpu = sys + user;
439 usertot += (double)user;
572 pf((double)user / HZ);
578 pf((double)user / cpu);
702 diag("-r show CPU factor (user
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duucleanup.c47 * either user files to be sent or received, or
49 * does not involve sending user files is not checked
50 * for now.) In either of the cases, the user is
387 char buf[BUFSIZ], user[9]; local
424 user, opt, file3) <5) {
442 /* some data was requested -- tell user */
447 ret = sendMail((char *) NULL, user, "", _CantContact);
453 ret = sendMail((char *) NULL, user, "", _CantContact);
483 char buf[BUFSIZ], user[BUFSIZ]; local
520 user, op
[all...]
H A Duuxqt.c167 * determine user who started uuxqt (in principle)
715 * return stuff to user
716 * user -> user to notify
717 * rmt -> system name where user resides
720 * buf -> user friendly face saving uplifting edifying missive
726 retosndr(user, rmt, file, cmd, buf, errfile)
727 char *user, *rmt, *file, *cmd, *buf, *errfile;
738 (void) strlcpy(ruser, user, sizeof (ruser));
740 (void) snprintf(ruser, sizeof (ruser), "%s!%s", rmt, user);
842 char buf[BUFSIZ], user[BUFSIZ], retaddr[BUFSIZ], retuser[BUFSIZ], local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c97 char *user; local
107 if (!extract_domain(argp->str, &user, &domain)) {
111 * Invalid "user@domain" string. Still, the user
116 if (!validate_id_str(user)) {
123 id = strtoul(user, (char **)NULL, 10);
149 rc = idmap_getuidbywinname(user, domain, 0, &result.u_res.uid);
160 (pwd_rc = getpwnam_r(user, &pwd, pwd_buf, pwd_buflen, &pwd_ptr))
167 * Not a valid user
177 * Valid user entr
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c104 * Dynamically check for libzfs, in case the user hasn't installed the SUNWzfs
227 fprintf(stderr, "quota: %s: unknown user\n", name);
330 * user correct the problem?
871 getzfsquota(char *user, char *dataset, struct dqblk *zq) argument
883 (void) snprintf(propname, sizeof (propname), "userquota@%s", user);
889 (void) snprintf(propname, sizeof (propname), "userused@%s", user);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c367 char *user = NULL; local
372 user = (char *)malloc(ptr - userdata + 1);
373 (void) strlcpy(user, userdata, (ptr - userdata) + 1);
375 user = (char *)strdup(userdata);
378 err = pam_start("k5migrate", user, NULL, &pamh);
382 if (user)
383 free(user);
386 if (user)
387 free(user);
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c817 char *user; local
837 user = next_field(&lp);
858 sep->se_user = sc_strdup(user);
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c50 * to submit user-defined events to a port. The idea of the
51 * user-defined events is to use the event ports for communication between
69 * user level as well as events submitted from kernel sub-systems. Sub-systems
77 * PORT_SOURCE_ALERT : events submitted from user. This is not really a
85 * There is a user API implemented in the libc library as well as a
87 * The available user API functions are:
133 * descriptor and a user-defined pointer.
174 * This type of event is generated from user level using the port_send()
175 * function to send a user event to a port or the port_sendn() function
211 * limitations. If the parent process sends a user even
894 port_send(port_t *pp, int source, int events, void *user) argument
942 port_dispatch_event(port_t *pp, int opcode, int source, int events, uintptr_t object, void *user) argument
975 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user, uint_t *nget) argument
1073 port_alert(port_t *pp, int flags, int events, void *user) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c88 char *user=NULL, *filter=NULL, **subtree=NULL; local
120 if ((st=krb5_unparse_name(context, searchfor, &user)) != 0)
123 if ((st=krb5_ldap_unparse_principal_name(user)) != 0)
126 princlen = strlen(FILTER) + strlen(user) + 2 + 1; /* 2 for closing brackets */
131 snprintf(filter, princlen, FILTER"%s))", user);
142 /* get the associated directory user information */
151 if (strcasecmp(values[i], user) == 0) {
193 if (user)
194 free(user);
462 char *user local
1256 char *user=NULL; local
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast.h155 char* user; member in struct:__anon2583
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast.h146 char* user; member in struct:__anon2618
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast.h155 char* user; member in struct:__anon2683

Completed in 1338 milliseconds

1234567891011>>