1
0
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:
Andrew Bartlett 2010-09-11 20:38:15 +10:00
parent 07cf3ba5c4
commit e84ab1b35f

View File

@ -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++;