summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:50:49 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:09 +1000
commit0e2142a9275b567a3c6a8f90e95240d9e686ec27 (patch)
tree40d28f6cef551b73491bc1c05235552bbb1c005b /source3
parent2387e3bcfeb4c2e54342a8fff4b157e9ba68024b (diff)
downloadsamba-0e2142a9275b567a3c6a8f90e95240d9e686ec27.tar.gz
samba-0e2142a9275b567a3c6a8f90e95240d9e686ec27.tar.bz2
samba-0e2142a9275b567a3c6a8f90e95240d9e686ec27.zip
s3-privs Remove pointer indirection from se_priv_to_privilege_set()
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index e54bd9613f..81bbd4fc8c 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1858,7 +1858,7 @@ NTSTATUS _lsa_EnumPrivsAccount(struct pipes_struct *p,
goto done;
}
- if ( se_priv_to_privilege_set( &privileges, &mask ) ) {
+ if ( se_priv_to_privilege_set( &privileges, mask ) ) {
DEBUG(10,("_lsa_EnumPrivsAccount: %s has %d privileges\n",
sid_string_dbg(&info->sid),
@@ -2376,7 +2376,7 @@ NTSTATUS _lsa_EnumAccountRights(struct pipes_struct *p,
return status;
}
- se_priv_to_privilege_set(&privileges, &mask);
+ se_priv_to_privilege_set(&privileges, mask);
DEBUG(10,("_lsa_EnumAccountRights: %s has %d privileges\n",
sid_string_dbg(&sid), privileges.count));