Home
last modified time | relevance | path

Searched refs:kerror (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/krb5/kdb/
H A Dkeytab.c128 krb5_error_code kerror = 0; local
145 if ((kerror = krb5_db_inited(context)))
146 return(kerror);
149 kerror = krb5_db_get_principal(context, principal, &
151 if (kerror) {
153 return(kerror);
162 kerror = KRB5_KT_NOTFOUND;
167 kerror = krb5_db_get_mkey(context, &master_key);
168 if (kerror)
175 kerror = krb5_dbe_find_enctype(context, &db_entry,
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_srvtab.c190 krb5_error_code kerror = 0; in krb5_ktsrvtab_get_entry() local
194 if ((kerror = krb5_ktsrvint_open(context, id))) in krb5_ktsrvtab_get_entry()
195 return(kerror); in krb5_ktsrvtab_get_entry()
212 while ((kerror = krb5_ktsrvint_read_entry(context, id, &ent)) == 0) { in krb5_ktsrvtab_get_entry()
232 if (kerror == KRB5_KT_END) { in krb5_ktsrvtab_get_entry()
234 kerror = 0; in krb5_ktsrvtab_get_entry()
236 kerror = KRB5_KT_KVNONOTFOUND; in krb5_ktsrvtab_get_entry()
238 kerror = KRB5_KT_NOTFOUND; in krb5_ktsrvtab_get_entry()
240 if (kerror) { in krb5_ktsrvtab_get_entry()
243 return kerror; in krb5_ktsrvtab_get_entry()
[all …]
H A Dread_servi.c49 krb5_error_code kerror = KSUCCESS; in krb5_kt_read_service_key() local
58 if ((kerror = krb5_kt_default_name(context, (char *)keytabname, in krb5_kt_read_service_key()
60 return (kerror); in krb5_kt_read_service_key()
67 if ((kerror = krb5_kt_resolve(context, (char *)keytabname, &id))) in krb5_kt_read_service_key()
68 return (kerror); in krb5_kt_read_service_key()
70 kerror = krb5_kt_get_entry(context, id, principal, vno, enctype, &entry); in krb5_kt_read_service_key()
74 if (kerror) in krb5_kt_read_service_key()
75 return(kerror); in krb5_kt_read_service_key()
H A Dkt_file.c264 krb5_error_code kerror = 0; in krb5_ktfile_get_entry() local
269 kerror = KTLOCK(id); in krb5_ktfile_get_entry()
270 if (kerror) in krb5_ktfile_get_entry()
271 return kerror; in krb5_ktfile_get_entry()
274 if ((kerror = krb5_ktfileint_openr(context, id))) { in krb5_ktfile_get_entry()
276 return(kerror); in krb5_ktfile_get_entry()
288 if ((kerror = krb5_ktfileint_read_entry(context, id, &new_entry))) in krb5_ktfile_get_entry()
320 if ((kerror = krb5_c_enctype_compare(context, enctype, in krb5_ktfile_get_entry()
387 if (kerror == KRB5_KT_END) { in krb5_ktfile_get_entry()
389 kerror = 0; in krb5_ktfile_get_entry()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c291 int kerror; in secure_getbyte() local
295 if ((kerror = in secure_getbyte()
299 kerror, (kerror == -1) ? strerror(errno) : in secure_getbyte()
308 if ((kerror = looping_read(fd, (char *)ucbuf, length)) in secure_getbyte()
311 length, kerror == -1 ? in secure_getbyte()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1155 krb5_error_code kerror = 0; local
1163 if ((kerror = krb5_ktfileint_openr(context, id))){
1165 "kerror= %d\n", kerror);
1166 return(kerror);
1178 if ((kerror = krb5_ktfileint_read_entry(context, id, &new_entry)))
1204 if ((kerror = krb5_c_enctype_compare(context, enctype,
1278 if (kerror == KRB5_KT_END) {
1280 kerror = 0;
1282 kerror = KRB5_KT_KVNONOTFOUND;
1284 kerror = KRB5_KT_NOTFOUND;
[all …]