/*
*/
/*
* Solaris Kerberos:
* Iterate through a keytab (keytab) looking for an entry which matches
* the components of a principal (princ) but match on any realm. When a
* suitable entry is found return the entry's realm.
*/
#include "k5-int.h"
if (ret != 0) {
return (ret);
}
/* For the comparison the realms should be the same. */
sizeof (krb5_data));
/* Copy the realm back */
if (match) {
/*
* A suitable entry was found in the keytab.
* Copy its realm
*/
if (ret) {
return (ret);
}
break;
}
}
if (ret == KRB5_KT_END) {
return (KRB5_KT_NOTFOUND);
}
}