diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-30 17:42:51 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-30 17:42:51 +0200 |
commit | 3e091a82167f51b7d9abf00755bede9354932c6b (patch) | |
tree | 8bb68d84cf29f2f8f346826bd1ed2dc9ddd30905 /source4/auth | |
parent | 65d1d4184483036a7ba159ad28b29001c0ec8b4e (diff) | |
download | samba-3e091a82167f51b7d9abf00755bede9354932c6b.tar.gz samba-3e091a82167f51b7d9abf00755bede9354932c6b.tar.bz2 samba-3e091a82167f51b7d9abf00755bede9354932c6b.zip |
s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available
FreeBSD 7.2 needs this.
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index 6d59bbe612..8282145441 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -42,6 +42,11 @@ #include "auth/gensec/gensec_gssapi.h" #include "lib/util/util_net.h" +/* There are "gssapi.h" header files which don't define all needed constants */ +#ifndef GSS_C_DELEG_POLICY_FLAG +#define GSS_C_DELEG_POLICY_FLAG 32768 +#endif + static size_t gensec_gssapi_max_input_size(struct gensec_security *gensec_security); static size_t gensec_gssapi_max_wrapped_size(struct gensec_security *gensec_security); |