Make krb5_kuserok() pluggable and add features (including MIT config compat)

This commit is contained in:
Nicolas Williams
2011-12-03 21:14:14 -06:00
parent cfe7f6312a
commit 6aec02f979
10 changed files with 519 additions and 144 deletions

View File

@@ -330,7 +330,7 @@ an2ln_default(krb5_context context,
if (ret)
return ret;
userok = krb5_kuserok(context, rootprinc, res);
userok = _krb5_kuserok(context, rootprinc, res, FALSE);
krb5_free_principal(context, rootprinc);
if (!userok)
return KRB5_NO_LOCALNAME;