summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-05-04 09:55:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:53 -0500
commit116c1532e7e8c398a1b22253a361bd88b729fb0f (patch)
tree6d1d569c0c8835add355016eceffb2e295d79c96 /source3/include
parent6288491e90e542c02857935a528e9765a636cf2a (diff)
downloadsamba-116c1532e7e8c398a1b22253a361bd88b729fb0f.tar.gz
samba-116c1532e7e8c398a1b22253a361bd88b729fb0f.tar.bz2
samba-116c1532e7e8c398a1b22253a361bd88b729fb0f.zip
r22664: When we have krb5_get_init_creds_opt_get_error() then try to get the NTSTATUS
codes directly out of the krb5_error edata. Guenther (This used to be commit dcd902f24a59288bbb7400d59c0afc0c8303ed69)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 29df0d2f35..0e4df629a7 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -298,6 +298,12 @@ typedef void **ADS_MODLIST;
#ifdef HAVE_KRB5
typedef struct {
+ NTSTATUS ntstatus;
+ uint32 unknown1;
+ uint32 unknown2; /* 0x00000001 */
+} KRB5_EDATA_NTSTATUS;
+
+typedef struct {
#if defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) /* MIT */
krb5_address **addrs;
#elif defined(HAVE_KRB5_ADDRESSES) /* Heimdal */