Searched refs:luser (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/lib/libpam/modules/pam_self/
H A Dpam_self.c59 const char *luser; local
63 pam_err = pam_get_user(pamh, &luser, NULL);
66 if (luser == NULL || (pwd = getpwnam(luser)) == NULL)
/freebsd-11-stable/lib/libpam/modules/pam_opieaccess/
H A Dpam_opieaccess.c58 const void *luser, *rhost; local
61 r = pam_get_item(pamh, PAM_USER, &luser);
64 if (luser == NULL)
67 pwent = getpwnam(luser);
68 if (pwent == NULL || opielookup(&opie, __DECONST(char *, luser)) != 0)
/freebsd-11-stable/usr.sbin/lpr/lprm/
H A Dlprm.c81 static char luser[16]; /* buffer for person */ variable
112 if (strlen(p->pw_name) >= sizeof(luser))
114 strcpy(luser, p->pw_name);
115 person = luser;
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Diruserok.c89 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser, argument
199 userok = !(strcmp(ruser,*user ? user : luser));
218 iruserok(unsigned raddr, int superuser, const char *ruser, const char *luser) argument
232 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) {
240 if ((pwd = k_getpwnam((char*)luser)) == NULL)
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dkuserok.c173 const char *luser)
192 luser) == 0) {
225 * ie luser@@LOCAL-REALMS-IN-CONFIGURATION-FILES.
229 * @param luser local user id
239 const char *luser)
255 if(getpwnam_r(luser, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
258 pwd = getpwnam (luser);
294 return match_local_principals(context, principal, luser);
301 return match_local_principals(context, principal, luser);
171 match_local_principals(krb5_context context, krb5_principal principal, const char *luser) argument
237 krb5_kuserok(krb5_context context, krb5_principal principal, const char *luser) argument
/freebsd-11-stable/libexec/rshd/
H A Drshd.c56 * luser\0
198 char *cmdbuf, luser[16], ruser[16]; local
314 getstr(luser, sizeof(luser), "luser");
318 pam_err = pam_start("rsh", luser, &pamc, &pamh);
341 strlcpy(luser, cp, sizeof(luser));
349 ruser, rhost, luser, pam_strerror(pamh, pam_err), cmdbuf);
357 pwd = getpwnam(luser);
[all...]
/freebsd-11-stable/contrib/pf/authpf/
H A Dauthpf.c69 char luser[MAXLOGNAME]; /* username */ variable
186 if (strlcpy(luser, pw->pw_name, sizeof(luser)) >= sizeof(luser)) {
192 luser, (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) {
194 luser, (long)getpid(), (long)getpid());
205 PATH_PIDFILE, user_ip ? ipsrc : luser);
311 if (!check_luser(PATH_BAN_DIR, luser) || !allowed_luser(pw)) {
312 syslog(LOG_INFO, "user %s prohibited", luser);
328 fprintf(pidfp, "%ld\n%s\n", (long)getpid(), luser);
[all...]
/freebsd-11-stable/lib/libc/net/
H A Drcmd.c374 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) argument
388 luser) == 0) {
407 iruserok(unsigned long raddr, int superuser, const char *ruser, const char *luser) argument
416 ruser, luser);
426 const char *luser)
448 if (__ivaliduser_sa(hostf, raddr, rlen, luser, ruser) == 0) {
456 if ((pwd = getpwnam(luser)) == NULL)
506 __ivaliduser(FILE *hostf, u_int32_t raddr, const char *luser, const char *ruser) argument
515 luser, ruser);
524 __ivaliduser_af(FILE *hostf, const void *raddr, const char *luser, argument
425 iruserok_sa(const void *ra, int rlen, int superuser, const char *ruser, const char *luser) argument
564 __ivaliduser_sa(FILE *hostf, const struct sockaddr *raddr, socklen_t salen, const char *luser, const char *ruser) argument
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dssh-keysign.c79 char *pkalg, *luser; local
147 if ((r = sshbuf_get_cstring(b, &luser, NULL)) != 0)
150 if (strcmp(pw->pw_name, luser) != 0)
152 free(luser);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_iter.c302 nvlist_t *luser, *ruser; local
305 luser = zfs_get_user_props(l);
308 lvalid = (nvlist_lookup_nvlist(luser,
/freebsd-11-stable/lib/libpam/modules/pam_krb5/
H A Dpam_krb5.c121 char *principal, *princ_name, *ccache_name, luser[32], *srvdup; local
206 sizeof(luser), luser);
215 retval = pam_set_item(pamh, PAM_USER, luser);
/freebsd-11-stable/contrib/tnftp/src/
H A Dutil.c379 ftp_login(const char *host, const char *luser, const char *lpass) argument
389 if (luser)
390 fuser = ftp_strdup(luser);

Completed in 247 milliseconds