HELP!!! Problem with long userlist with Windows 9x
Jean Francois Micouleau
Jean-Francois.Micouleau at dalalu.fr
Thu Jul 5 21:45:03 GMT 2001
On Thu, 5 Jul 2001, Jim McDonough wrote:
> Seems in srv_samr_nt.c, line 1044 (or so) says:
> orig_num_entries = num_entries;
>
> After the check for exceeding MAX_SAM_ENTRIES (which is 50) has been done.
> And then at the end...
>
> if (num_entries < orig_num_entries) {
> return STATUS_MORE_ENTRIES;
> }
>
> Seems like orig_num_entries needs to be set earlier...
>
> My netmon capture (and gdb) shows that STATUS_MORE_ENTRIES is definitely
> not returned.
I don't have the code under my eyes right now, but I think
orig_num_entries is set at the correct time.
the if test case you quoted is for when the packet exced the size.
Something I didn't try. I'll check that tomorrow.
But what is for sure, we now honor correctly the max_entries limit.
More information about the samba-technical
mailing list