Home
last modified time | relevance | path

Searched refs:rcname (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Dser_rc.c110 char *rcname; in krb5_rcache_externalize() local
132 if ((rcname = (char *) malloc(namelen))) { in krb5_rcache_externalize()
135 sprintf(rcname, "%s:%s", rcache->ops->type, fnamep); in krb5_rcache_externalize()
137 strcpy(rcname, fnamep); in krb5_rcache_externalize()
140 (void) krb5_ser_pack_int32((krb5_int32) strlen(rcname), in krb5_rcache_externalize()
144 (void) krb5_ser_pack_bytes((krb5_octet *) rcname, in krb5_rcache_externalize()
145 strlen(rcname), in krb5_rcache_externalize()
153 free(rcname); in krb5_rcache_externalize()
171 char *rcname; in krb5_rcache_internalize() local
186 (rcname = (char *) malloc((size_t) (ibuf+1))) && in krb5_rcache_internalize()
[all …]
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dmain.c454 char *rcname = KDCRCACHE; local
595 rcname = optarg;
669 if ((retval = kdc_initialize_rcache(kcontext, rcname))) {
671 rcname);
H A Dkdc_util.c55 char *rcname; in kdc_initialize_rcache() local
58 rcname = (rcache_name) ? rcache_name : kdc_current_rcname; in kdc_initialize_rcache()
64 if (!rcname) in kdc_initialize_rcache()
65 rcname = KDCRCACHE; in kdc_initialize_rcache()
66 if (!(retval = krb5_rc_resolve_full(kcontext, &kdc_rcache, rcname))) { in kdc_initialize_rcache()
76 kdc_current_rcname = strdup(rcname); in kdc_initialize_rcache()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c3580 static char *rcname = NULL; variable
3604 if (rcname == NULL) { in cmdrc()
3612 if ((rcname = malloc(rcbuflen)) == NULL) { in cmdrc()
3617 (void) strcpy(rcname, homedir); in cmdrc()
3618 (void) strcat(rcname, TELNETRC_COMP); in cmdrc()
3621 if ((rcfile = fopen(rcname, "r")) == NULL) in cmdrc()