r6094: Work on the Kerberos code recently merged from Samba 3.0. This fixes
commite6aeeb5269a4953e48dd023e03aeba0cf47f6698
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 Mar 2005 06:40:18 +0000 (28 06:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:18 +0000 (10 13:11 -0500)
tree792c8c8f09690ce34c62f49b2d03737573fd3784
parent8c270fcedb1629526f1f40fb42e0ee329c0f2178
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)
source4/libads/config.m4
source4/libcli/auth/clikrb5.c
source4/libcli/auth/kerberos.h
source4/libcli/auth/kerberos_verify.c