summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_builtin.c b/source4/auth/auth_builtin.c
index d890b0ec72..002f9f7190 100644
--- a/source4/auth/auth_builtin.c
+++ b/source4/auth/auth_builtin.c
@@ -88,7 +88,7 @@ static NTSTATUS check_name_to_ntstatus_security(const struct auth_context *auth_
long error_num;
fstrcpy(user, user_info->smb_name.str);
- if (strnequal("NT_STATUS", user, strlen("NT_STATUS"))) {
+ if (strncasecmp("NT_STATUS", user, strlen("NT_STATUS")) == 0) {
strupper_m(user);
return nt_status_string_to_code(user);
}