summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:59:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:09 +1000
commitb057867de3fbb423ef6afb9b7038ab99c83124d8 (patch)
tree313ac5da30310a23fab1f0da6a63981a68336b71 /source3/rpc_server
parent0e2142a9275b567a3c6a8f90e95240d9e686ec27 (diff)
downloadsamba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.gz
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.bz2
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.zip
s3-privs Remove a pointer from grant_privilege()
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 81bbd4fc8c..8074eadb69 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -2009,7 +2009,7 @@ NTSTATUS _lsa_AddPrivilegesToAccount(struct pipes_struct *p,
if ( !privilege_set_to_se_priv( &mask, set ) )
return NT_STATUS_NO_SUCH_PRIVILEGE;
- if ( !grant_privilege( &info->sid, &mask ) ) {
+ if ( !grant_privilege( &info->sid, mask ) ) {
DEBUG(3,("_lsa_AddPrivilegesToAccount: grant_privilege(%s) failed!\n",
sid_string_dbg(&info->sid) ));
DEBUG(3,("Privilege mask: 0x%llx\n", (unsigned long long)mask));