diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 221ad29144..d08bb50bb9 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -871,7 +871,7 @@ NTSTATUS _samr_QuerySecurity(pipes_struct *p, status = access_check_samr_function(acc_granted, STD_RIGHT_READ_CONTROL_ACCESS, "_samr_QuerySecurity"); - if (NT_STATUS_IS_OK(status)) { + if (!NT_STATUS_IS_OK(status)) { return status; } |