diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-03-28 06:40:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:18 -0500 |
commit | e6aeeb5269a4953e48dd023e03aeba0cf47f6698 (patch) | |
tree | 792c8c8f09690ce34c62f49b2d03737573fd3784 /source4/libads | |
parent | 8c270fcedb1629526f1f40fb42e0ee329c0f2178 (diff) | |
download | samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.tar.gz samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.tar.bz2 samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.zip |
r6094: Work on the Kerberos code recently merged from Samba 3.0. This fixes
up issues I introduced during the merge, that caused a segfault.
I've still not got the keytab code to work for me (using Samba3 to
generate the keytab) so this is still not fully tested, but it's
better than it was.
To add debugging, I now use the krb5_get_error_message() function from
Heimdal when present, to return the custom error string, which
contains far, far more information than the simple error code does.
(This last point may well be worth merging back into 3.0)
Andrew Bartlett
(This used to be commit ed5755d9d1e48df7ae77a9410d30e10cb8b0cbd7)
Diffstat (limited to 'source4/libads')
-rw-r--r-- | source4/libads/config.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libads/config.m4 b/source4/libads/config.m4 index 57416113b3..8c27dba49e 100644 --- a/source4/libads/config.m4 +++ b/source4/libads/config.m4 @@ -341,6 +341,8 @@ if test x"$with_krb5_support" != x"no"; then AC_CHECK_FUNC_EXT(krb5_krbhst_get_addrinfo, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_c_enctype_compare, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_enctypes_compatible_keys, $KRB5_LIBS) + AC_CHECK_FUNC_EXT(krb5_get_error_string, $KRB5_LIBS) + AC_CHECK_FUNC_EXT(krb5_free_error_string, $KRB5_LIBS) LIBS="$LIBS $KRB5_LIBS" |