diff options
author | Jeremy Allison <jra@samba.org> | 2008-12-10 17:03:53 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-12-10 17:03:53 -0800 |
commit | d7d525bc9d8bf2f3dffbbc568254c3e774944268 (patch) | |
tree | c6c43620640fc71f9c2f66e97596821f99926ce5 | |
parent | c4c6e1e463fe5ab8bb0e3e649d76ac5ec80900de (diff) | |
download | samba-d7d525bc9d8bf2f3dffbbc568254c3e774944268.tar.gz samba-d7d525bc9d8bf2f3dffbbc568254c3e774944268.tar.bz2 samba-d7d525bc9d8bf2f3dffbbc568254c3e774944268.zip |
Make the LookupRid access check match LookupName until
we know the correct bits to use here.
Jeremy.
-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 f942476fe5..342f432c4e 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -2079,7 +2079,7 @@ NTSTATUS _samr_LookupRids(pipes_struct *p, return NT_STATUS_INVALID_HANDLE; status = access_check_samr_function(acc_granted, - SAMR_DOMAIN_ACCESS_ENUM_ACCOUNTS, + 0, /* Don't know the acc_bits yet */ "_samr_LookupRids"); if (!NT_STATUS_IS_OK(status)) { return status; |