From cc8d70036477f30c6c9c8a6e37d1e2680107c0a6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 2 Aug 2007 17:41:47 +0000 Subject: r24131: - make it more clear what the different min and max fields mean - with the "GSSAPI" sasl mech the plain, sign or seal negotiation is independed from the req_flags and ret_flags - verify the server supports the wrapping type we want - better handling on negotiated buffer sizes metze (This used to be commit d0ec7323870ca16b28d458ff5f7dacce278b7d54) --- source3/include/ads.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ads.h b/source3/include/ads.h index 2dc7e277d5..0216f536c9 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -103,16 +103,17 @@ typedef struct ads_struct { uint32 ofs; uint32 needed; uint32 left; - uint32 max; - uint32 min; +#define ADS_SASL_WRAPPING_IN_MAX_WRAPPED 0x0FFFFFFF + uint32 max_wrapped; + uint32 min_wrapped; uint32 size; uint8 *buf; } in; struct { uint32 ofs; uint32 left; - uint32 max; - uint32 min; +#define ADS_SASL_WRAPPING_OUT_MAX_WRAPPED 0x00A00000 + uint32 max_unwrapped; uint32 sig_size; uint32 size; uint8 *buf; -- cgit