summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-03-06 12:11:18 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-27 20:08:18 +0200
commita2f6327f9f6ee760ef28a024fb26a49ca2aa43e6 (patch)
tree65cf751dbef45da9cca770e3a615d104bc45c449 /source3/auth
parentb6baf35ebde68db75515910ede26e74bb8313284 (diff)
downloadsamba-a2f6327f9f6ee760ef28a024fb26a49ca2aa43e6.tar.gz
auth: Add SID_NT_NTLM_AUTHENTICATION / S-1-5-64-10 to the token during NTLM auth
So far this is only on the AD DC Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Pair-Programmed-by: Gary Lockyer <gary@catalyst.net.nz> Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c
index 875b7ff5949..b7b9527f976 100644
--- a/source3/auth/auth_generic.c
+++ b/source3/auth/auth_generic.c
@@ -403,7 +403,8 @@ NTSTATUS auth_check_password_session_info(struct auth4_context *auth_context,
server_info,
user_info->client.account_name,
AUTH_SESSION_INFO_UNIX_TOKEN |
- AUTH_SESSION_INFO_DEFAULT_GROUPS,
+ AUTH_SESSION_INFO_DEFAULT_GROUPS |
+ AUTH_SESSION_INFO_NTLM,
session_info);
TALLOC_FREE(server_info);
}