Searched refs:ruser (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Diruserok.c92 const char *ruser)
180 userok = innetgr(user+2, NULL, (char *)ruser,
183 userok = !(strcmp(ruser, user+1));
191 (char *)ruser, ypdomain))
194 if (!strcmp(ruser, user+1))
201 userok = !(strcmp(ruser,*user ? user : luser));
220 iruserok(unsigned raddr, int superuser, const char *ruser, const char *luser) argument
234 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) {
91 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser, const char *ruser) argument
/netbsd-current/lib/libpam/modules/pam_rhosts/
H A Dpam_rhosts.c64 const void *ruser, *rhost; local
79 err = pam_get_item(pamh, PAM_RUSER, &ruser);
88 err = ruserok(rhost, superuser, ruser, user);
/netbsd-current/lib/libpam/modules/pam_group/
H A Dpam_group.c71 const void *ruser; local
90 if (pam_get_item(pamh, PAM_RUSER, &ruser) != PAM_SUCCESS ||
91 ruser == NULL ||
92 getpwnam_r(ruser, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 ||
/netbsd-current/external/bsd/openpam/dist/bin/pamtest/
H A Dpamtest.c274 "[-dkMPsv] [-H rhost] [-h host] [-t tty] [-U ruser] [-u user]");
319 const char *ruser = NULL; local
366 opt_str_once(opt, &ruser, optarg);
400 if (ruser == NULL)
401 ruser = user;
420 (pame = pt_set_item(PAM_RUSER, ruser)) != PAM_SUCCESS ||
/netbsd-current/lib/libc/net/
H A Drcmd.c599 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) argument
605 _DIAGASSERT(ruser != NULL);
617 ruser, luser) == 0) {
636 iruserok(u_int32_t raddr, int superuser, const char *ruser, const char *luser) argument
646 return iruserok_sa(&irsin, (socklen_t)sizeof(irsin), superuser, ruser,
655 iruserok_sa(const void *raddr, int rlen, int superuser, const char *ruser, argument
669 _DIAGASSERT(ruser != NULL);
680 ruser) == 0) {
728 luser, ruser);
751 const char *ruser)
750 __ivaliduser(FILE *hostf, u_int32_t raddr, const char *luser, const char *ruser) argument
769 __ivaliduser_sa(FILE *hostf, const struct sockaddr *raddr, socklen_t salen, const char *luser, const char *ruser) argument
[all...]
/netbsd-current/lib/libpam/modules/pam_ksu/
H A Dpam_ksu.c69 const void *ruser; local
78 pamret = pam_get_item(pamh, PAM_RUSER, &ruser);
81 PAM_LOG("Got ruser: %s", (const char *)ruser);
89 rv = get_su_principal(context, user, ruser, &su_principal_name, &su_principal);
205 * the ruser parameter.
/netbsd-current/usr.bin/rdist/
H A Ddocmd.c213 char *ruser, *cp; local
240 ruser = tuser;
241 if (*ruser == '\0')
242 ruser = user;
243 else if (!okname(ruser))
246 ruser = user;
260 printf("port = %d, luser = %s, ruser = %s\n", ntohs(port), user, ruser);
266 rem = rcmd(&rhost, port, user, ruser, buf, &remerr);
/netbsd-current/external/bsd/ppp/dist/pppd/
H A Dupap.c364 char *ruser, *rpasswd; local
399 ruser = (char *) inp;
411 retcode = check_passwd(u->us_unit, ruser, ruserlen, rpasswd,
434 slprintf(rhostname, sizeof(rhostname), "%.*v", ruserlen, ruser);
439 auth_peer_success(u->us_unit, PPP_PAP, 0, ruser, ruserlen);
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dpam.c34 struct berval ruser; member in struct:paminfo
239 pi.ruser.bv_val = ruserc;
240 pi.ruser.bv_len = tmpint32;
366 pi.ruser.bv_val = ruserc;
367 pi.ruser.bv_len = tmpint32;
592 pi.ruser.bv_val = ruserc;
593 pi.ruser.bv_len = tmpint32;
648 pi.tty.bv_len + pi.ruser.bv_len + pi.rhost.bv_len + STRLENOF(" (@)");
652 pi.ruser.bv_val, pi.rhost.bv_val);
737 pi.ruser
[all...]
/netbsd-current/external/cddl/osnet/dist/cmd/zfs/
H A Dzfs_iter.c302 nvlist_t *luser, *ruser; local
306 ruser = zfs_get_user_props(r);
310 rvalid = (nvlist_lookup_nvlist(ruser,
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dreadconf.c685 const char *ruser; local
695 ruser = options->user == NULL ? pw->pw_name : options->user;
771 criteria = xstrdup(ruser);
772 r = match_pattern_list(ruser, arg, 0) == 1;
809 portstr, ruser, jmphost);
822 "r", ruser,

Completed in 311 milliseconds