mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4-privs Fix enum privileges in LSARPC server
We were returning the index, not the LUID value Andrew Bartlett
This commit is contained in:
parent
07cf3ba5c4
commit
e84ab1b35f
@ -312,7 +312,7 @@ static NTSTATUS dcesrv_lsa_EnumPrivs(struct dcesrv_call_state *dce_call, TALLOC_
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
e = &r->out.privs->privs[r->out.privs->count];
|
||||
e->luid.low = i;
|
||||
e->luid.low = priv;
|
||||
e->luid.high = 0;
|
||||
e->name.string = privname;
|
||||
r->out.privs->count++;
|
||||
|
Loading…
Reference in New Issue
Block a user