s3:ntlm_auth: make ntlm_auth_generate_session_info() more complete
authorStefan Metzmacher <metze@samba.org>
Wed, 11 May 2016 15:59:32 +0000 (17:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 May 2016 10:13:23 +0000 (12:13 +0200)
commit825cce1f88b797c80116769e1755328dee2ba0e1
tree340a753b9f04e547796cc81ebe7146f5825a0892
parent84aea20f37f7a59c13eb0dcb63e26a389fcc47ee
s3:ntlm_auth: make ntlm_auth_generate_session_info() more complete

The generate_session_info() function maybe called more than once
per session.

Some may try to look/dereference session_info->security_token,
so we provide simplified token.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11914

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/utils/ntlm_auth.c