From a2f6327f9f6ee760ef28a024fb26a49ca2aa43e6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 6 Mar 2017 12:11:18 +1300 Subject: 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 Reviewed-by: Garming Sam Pair-Programmed-by: Gary Lockyer Signed-off-by: Gary Lockyer --- auth/common_auth.h | 1 + 1 file changed, 1 insertion(+) (limited to 'auth/common_auth.h') diff --git a/auth/common_auth.h b/auth/common_auth.h index 8cbfc54794b..95b36cd334f 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -39,6 +39,7 @@ enum auth_password_state { #define AUTH_SESSION_INFO_AUTHENTICATED 0x02 /* Add the user to the 'authenticated users' group */ #define AUTH_SESSION_INFO_SIMPLE_PRIVILEGES 0x04 /* Use a trivial map between users and privilages, rather than a DB */ #define AUTH_SESSION_INFO_UNIX_TOKEN 0x08 /* The returned token must have the unix_token and unix_info elements provided */ +#define AUTH_SESSION_INFO_NTLM 0x10 /* The returned token must have authenticated-with-NTLM flag set */ struct auth_usersupplied_info { -- cgit v1.2.1