auth3: remove unused USER_INFO_LOCAL_SAM_ONLY/AUTH_METHOD_LOCAL_SAM handling
[sfrench/samba-autobuild/.git] / source3 / auth / auth.c
index 31313c76f77383daf260a39ed184ef2146f59d83..3d82f2b06cecb9d035f04d473a953d20ecb9b550 100644 (file)
@@ -223,11 +223,6 @@ NTSTATUS auth_check_ntlm_password(TALLOC_CTX *mem_ctx,
 
                auth_method_name = auth_method->name;
 
-               if (user_info->flags & USER_INFO_LOCAL_SAM_ONLY
-                   && !(auth_method->flags & AUTH_METHOD_LOCAL_SAM)) {
-                       continue;
-               }
-
                nt_status = auth_method->auth(auth_context,
                                              auth_method->private_data,
                                              talloc_tos(),