Home
last modified time | relevance | path

Searched refs:telnet_context (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dkerberos5.c178 krb5_context telnet_context = 0; variable
187 if (krb5auth_flag && (telnet_context == 0)) { in kerberos5_init()
188 retval = krb5_init_context(&telnet_context); in kerberos5_init()
218 if ((retval = krb5_cc_default(telnet_context, &ccache))) { in kerberos5_send()
228 if ((retval = krb5_sname_to_principal(telnet_context, RemoteHostName, in kerberos5_send()
250 krb5_princ_set_realm(telnet_context, creds.server, &rdata); in kerberos5_send()
257 if ((retval = krb5_cc_get_principal(telnet_context, ccache, in kerberos5_send()
264 krb5_free_cred_contents(telnet_context, &creds); in kerberos5_send()
273 if ((retval = krb5_get_tgs_ktypes(telnet_context, creds.server, in kerberos5_send()
282 krb5_free_cred_contents(telnet_context, &creds); in kerberos5_send()
[all …]
H A Denc_des.c84 extern krb5_context telnet_context;
126 code = krb5_c_encrypt(telnet_context, &stp->str_key, NULL, NULL, in ecb_encrypt()
206 code = krb5_c_random_make_octets(telnet_context, &d); in cfb64_start()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c174 static krb5_context telnet_context = 0; variable
554 err = krb5_auth_con_init(telnet_context, &auth_context); in kerberos5_is()
563 err = krb5_auth_con_getrcache(telnet_context, in kerberos5_is()
567 err = krb5_sname_to_principal(telnet_context, in kerberos5_is()
573 telnet_context, in kerberos5_is()
575 telnet_context, in kerberos5_is()
579 krb5_free_principal(telnet_context, in kerberos5_is()
588 err = krb5_auth_con_setrcache(telnet_context, in kerberos5_is()
599 err = krb5_kt_resolve(telnet_context, in kerberos5_is()
602 err = krb5_rd_req(telnet_context, &auth_context, &auth, in kerberos5_is()
[all …]