mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3-lsa: Fix sid in DEBUG in_lsa_EnumAccountRights.
Andrew, you removed the sid_copy buit forgot the sid, please check. Guenther
This commit is contained in:
parent
7c9dab4761
commit
a233c0c0d2
@ -2312,7 +2312,6 @@ NTSTATUS _lsa_EnumAccountRights(struct pipes_struct *p,
|
|||||||
{
|
{
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
struct lsa_info *info = NULL;
|
struct lsa_info *info = NULL;
|
||||||
struct dom_sid sid;
|
|
||||||
PRIVILEGE_SET *privileges;
|
PRIVILEGE_SET *privileges;
|
||||||
|
|
||||||
/* find the connection policy handle. */
|
/* 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",
|
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);
|
status = init_lsa_right_set(p->mem_ctx, r->out.rights, privileges);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user