diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-26 15:11:47 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:04 +1000 |
commit | d3524f2eaeef06059fcdc7af5b742cd46064fd20 (patch) | |
tree | 6dca681b7d39f74d78e2ce51bf67e2c77aaff365 /source3/smbd/globals.h | |
parent | 9f663270fd7d40dbaf258fe6818685d42249a827 (diff) | |
download | samba-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.h | 3 |
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; |