lib/krb5: fix the build without KRB4
metze Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
abd2f29c44
commit
5b8a319a7e
@@ -1187,6 +1187,7 @@ name_convert(krb5_context context, const char *name, const char *realm,
|
||||
return KRB5_NT_UNKNOWN;
|
||||
|
||||
/* didn't find it in config file, try built-in list */
|
||||
#ifdef KRB4
|
||||
{
|
||||
struct v4_name_convert *q;
|
||||
for(q = default_v4_name_convert; q->from; q++) {
|
||||
@@ -1196,6 +1197,7 @@ name_convert(krb5_context context, const char *name, const char *realm,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user