summaryrefslogtreecommitdiffstats
path: root/source3/include/ads.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-02 17:41:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:09 -0500
commitcc8d70036477f30c6c9c8a6e37d1e2680107c0a6 (patch)
tree6b38b08a5b2aa33e187883b5844f45b75a7fe12a /source3/include/ads.h
parent6c6fed5e656d64df9c9c12d7909f2c2289208bf7 (diff)
downloadsamba-cc8d70036477f30c6c9c8a6e37d1e2680107c0a6.tar.gz
samba-cc8d70036477f30c6c9c8a6e37d1e2680107c0a6.tar.xz
samba-cc8d70036477f30c6c9c8a6e37d1e2680107c0a6.zip
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)
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r--source3/include/ads.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 2dc7e277d5e..0216f536c98 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;