summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-21 20:54:45 -0700
committerGünther Deschner <gd@samba.org>2010-09-21 21:00:32 -0700
commita233c0c0d2a307a64994480bd7b2c783e28fe72a (patch)
tree00aa3776c25dc77ec0e559a17ff21750996fa4ab /source3/rpc_server
parent7c9dab47618a809792cfdc43f0e3c5d88d2d7843 (diff)
downloadsamba-a233c0c0d2a307a64994480bd7b2c783e28fe72a.tar.gz
samba-a233c0c0d2a307a64994480bd7b2c783e28fe72a.tar.bz2
samba-a233c0c0d2a307a64994480bd7b2c783e28fe72a.zip
s3-lsa: Fix sid in DEBUG in_lsa_EnumAccountRights.
Andrew, you removed the sid_copy buit forgot the sid, please check. Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 191cdfeb66..fc19969a7b 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -2312,7 +2312,6 @@ NTSTATUS _lsa_EnumAccountRights(struct pipes_struct *p,
{
NTSTATUS status;
struct lsa_info *info = NULL;
- struct dom_sid sid;
PRIVILEGE_SET *privileges;
/* find the connection policy handle. */
@@ -2341,7 +2340,7 @@ NTSTATUS _lsa_EnumAccountRights(struct pipes_struct *p,
}
DEBUG(10,("_lsa_EnumAccountRights: %s has %d privileges\n",
- sid_string_dbg(&sid), privileges->count));
+ sid_string_dbg(r->in.sid), privileges->count));
status = init_lsa_right_set(p->mem_ctx, r->out.rights, privileges);