diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-27 11:52:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:08 +1000 |
commit | d2e41105e2caab83251d54c3fde72971038dd5df (patch) | |
tree | 3e6f1ee0ab41884b3d736bd2cc3132d4f384de56 /source3 | |
parent | eb8e3155dee3e4258a603da61a9e7822503cd8dd (diff) | |
download | samba-d2e41105e2caab83251d54c3fde72971038dd5df.tar.gz samba-d2e41105e2caab83251d54c3fde72971038dd5df.tar.bz2 samba-d2e41105e2caab83251d54c3fde72971038dd5df.zip |
libcli/security Return number of entries in the old source3 list
This ensures there isn't a behaviour change when the source3 list is combined
with the longer source4 list.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 449b5c894f..663f6fec9f 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1452,7 +1452,7 @@ NTSTATUS _lsa_EnumPrivs(struct pipes_struct *p, struct lsa_info *handle; uint32 i; uint32 enum_context = *r->in.resume_handle; - int num_privs = count_all_privileges(); + int num_privs = num_privileges_in_short_list(); struct lsa_PrivEntry *entries = NULL; struct lsa_LUIDAttribute luid; |