summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-26 15:11:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:04 +1000
commitd3524f2eaeef06059fcdc7af5b742cd46064fd20 (patch)
tree6dca681b7d39f74d78e2ce51bf67e2c77aaff365 /source3/smbd/globals.h
parent9f663270fd7d40dbaf258fe6818685d42249a827 (diff)
downloadsamba-d3524f2eaeef06059fcdc7af5b742cd46064fd20.tar.gz
samba-d3524f2eaeef06059fcdc7af5b742cd46064fd20.tar.bz2
samba-d3524f2eaeef06059fcdc7af5b742cd46064fd20.zip
s3-auth use auth_generic_start to get full GENSEC in Samba3 session setup
This tests if the auth_generic_start() hook is available on the auth context during the negprot, and if so it uses auth_generic_start() to hook to GENSEC to handle the full SPNEGO blob. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 9e8059be19..26125ce805 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -474,6 +474,9 @@ struct smbd_server_connection {
unsigned long file_gen_counter;
int first_file;
+ /* Try GENSEC hook */
+ bool use_gensec_hook;
+
/* number of open connections (tcons) */
int num_tcons_open;