HELP!!! Problem with long userlist with Windows 9x

Jeremy Allison jeremy at valinux.com
Thu Jul 5 22:12:36 GMT 2001


Jean Francois Micouleau wrote:
> 
> 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.

I'm about to check in a change that (hopefully) should
fix this...

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list