summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_lsa_nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/srv_lsa_nt.c')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 2f7e975b82..449b5c894f 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1497,10 +1497,8 @@ NTSTATUS _lsa_EnumPrivs(struct pipes_struct *p,
init_lsa_StringLarge(&entries[i].name, privs[i].name);
- luid = get_privilege_luid( &privs[i].privilege_mask );
-
- entries[i].luid.low = luid.luid.low;
- entries[i].luid.high = luid.luid.high;
+ entries[i].luid.low = get_privilege_luid( &privs[i].privilege_mask );
+ entries[i].luid.high = 0;
}
}