This was missing in commit
8b1b1cd8cc561378058b915e03996ff567355d81.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Mar 18 20:19:30 UTC 2019 on sn-devel-144
if (NT_STATUS_IS_OK(status)) {
return NT_STATUS_OK;
}
+ if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) {
+ return status;
+ }
/*
* We got access denied. If we're already root, or we didn't