Converted SAMR_Q_LOOKUP_NAMES structure to tallocated memory instead of
authorTim Potter <tpot@samba.org>
Wed, 6 Jun 2001 07:35:37 +0000 (07:35 +0000)
committerTim Potter <tpot@samba.org>
Wed, 6 Jun 2001 07:35:37 +0000 (07:35 +0000)
static arrays.
(This used to be commit d122568b35f63e3da7bb1fad6a4e72922cf6bca3)

source3/include/rpc_samr.h

index 0a789752bbab93e881ed030d3124a1da7eac2204..d996170200cdac4a95595a0b7087fa88c99a37a1 100644 (file)
@@ -1249,8 +1249,8 @@ typedef struct q_samr_lookup_names_info
        uint32 ptr;            /* 0x0000 0000 - 32 bit unknown */
        uint32 num_names2;      /* number of names being looked up */
 
-       UNIHDR  hdr_name[MAX_LOOKUP_SIDS]; /* unicode account name header */
-       UNISTR2 uni_name[MAX_LOOKUP_SIDS]; /* unicode account name string */
+       UNIHDR  *hdr_name; /* unicode account name header */
+       UNISTR2 *uni_name; /* unicode account name string */
 
 } SAMR_Q_LOOKUP_NAMES;