1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

s3-samr-server: fix access check in _samr_QuerySecurity().

Guenther
This commit is contained in:
Günther Deschner 2008-10-22 23:16:19 +02:00
parent 0f89871837
commit f9c6313e66

View File

@ -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;
}