Searched defs:rhost (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/pam_modules/tsol_acct/
H A Dtsol_acct.c63 char *rhost; local
85 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
90 "rhost %s",
94 (rhost == NULL) ? "NULL" : (rhost == '\0') ? "ZERO" :
95 rhost);
131 (rhost != NULL && *rhost != '\0')) {
134 host_type = tsol_getrhtype(rhost);
/osnet-11/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c90 char *ttyn, *rhost, *user; local
115 (error = pam_get_item(pamh, PAM_RHOST, (void **)&rhost))
166 if (rhost != NULL) {
167 (void) strlcpy(newll.ll_host, rhost,
/osnet-11/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c297 char *rhost = NULL; local
312 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
316 if (rhost == NULL || *rhost == '\0')
317 rhost = "localhost";
320 "%s from %s.", service, user, rhost);
/osnet-11/usr/src/lib/pam_modules/roles/
H A Droles.c56 char *rhost; local
67 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
89 "ruser = %s rhost = %s\n", (service) ? service : "not set",
92 (rhost) ? rhost: "not set");
154 if ((rhost != NULL && *rhost != '\0') &&
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dfwd_tgt.c45 krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, char *rhost, krb5_principal client, krb5_principal server, krb5_ccache cc, int forwardable, krb5_data *outbuf) argument
83 } else if (server) { /* must server be non-NULL when rhost is given? */
157 if (rhost == NULL) {
168 rhost = malloc(server->data[1].length+1);
169 if (!rhost) {
174 memcpy(rhost, server->data[1].data, server->data[1].length);
175 rhost[server->data[1].length] = '\0';
178 retval = krb5_os_hostaddr(context, rhost, &addrs);
219 free(rhost);
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c228 tsol_getrhtype(char *rhost) { argument
236 if ((hp = getipnodebyname(rhost, AF_INET6,
/osnet-11/usr/src/lib/pam_modules/list/
H A Dlist.c92 char *rhost; local
213 (void) pam_get_item(pamh, PAM_RHOST, (void**)&rhost);
215 if ((check_host || check_exact) && ((rhost == NULL) ||
216 (*rhost == '\0'))) {
218 rhost = hostname;
229 (rhost != NULL) ? rhost : "", username);
329 if (innetgr(bufp, rhost, username,
342 hostok = innetgr(bufp, rhost, NULL,
/osnet-11/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c452 char *rhost = NULL; local
455 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
460 (rhost != NULL && *rhost != '\0') ? rhost : "local host");
471 char *rhost = NULL; local
474 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
479 (rhost != NULL && *rhost != '\0') ? rhost
[all...]
/osnet-11/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c218 char *rhost; local
255 (void) pam_get_item(pamh, PAM_RHOST, (void **)&rhost);
259 "pam_unix_cred: user = %s, auser = %s, rhost = %s, "
263 (rhost == NULL) ? "NULL" : (*rhost == '\0') ? "ZERO" :
264 rhost,
318 if ((rhost == NULL || *rhost == '\0')) {
344 if (adt_load_hostname(rhost, &termid) != 0) {
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c77 static int _validuser(FILE *hostf, char *rhost, const char *luser,
79 static int _checkhost(char *rhost, char *lhost, int len);
557 ruserok(const char *rhost, int superuser, const char *ruser, const char *luser) argument
574 sp = rhost;
579 baselen = (int)(sp - rhost);
656 _validuser(FILE *hostf, char *rhost, const char *luser, argument
719 hostmatch = innetgr(uchost + 2, rhost,
722 hostmatch = innetgr(ahost + 2, rhost,
726 if (innetgr(uchost + 2, rhost, NULL, domain))
729 if (innetgr(ahost + 2, rhost, NUL
774 _checkhost(char *rhost, char *lhost, int len) argument
[all...]

Completed in 398 milliseconds