From caf485a2bd0453b7d22600f9106a2026b1a50c79 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jan 2012 21:49:33 +1100 Subject: auth: Pass in the SMB username (for %U) into generate_session_info This matches what Samba3 does. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Feb 13 01:25:59 CET 2012 on sn-devel-104 --- source4/auth/ntlm/auth_simple.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/auth/ntlm/auth_simple.c') diff --git a/source4/auth/ntlm/auth_simple.c b/source4/auth/ntlm/auth_simple.c index 241906e281..2e69991926 100644 --- a/source4/auth/ntlm/auth_simple.c +++ b/source4/auth/ntlm/auth_simple.c @@ -96,6 +96,7 @@ _PUBLIC_ NTSTATUS authenticate_username_pw(TALLOC_CTX *mem_ctx, } nt_status = auth_context->generate_session_info(tmp_ctx, auth_context, user_info_dc, + nt4_username, flags, session_info); -- cgit