diff options
author | Jim McDonough <jmcd@samba.org> | 2005-02-19 10:56:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:41 -0500 |
commit | 4e617c62c3998fb0a631b068ebdd159e6b6f286c (patch) | |
tree | ea3b3468fd901e514513bc76394cd9202d06ef02 /testsuite/libsmbclient/src/lseekdir/lseekdir_4.c | |
parent | 80a514a6effd46d7efe1d7e86c4fcea23836ed7a (diff) | |
download | samba-4e617c62c3998fb0a631b068ebdd159e6b6f286c.tar.gz samba-4e617c62c3998fb0a631b068ebdd159e6b6f286c.tar.bz2 samba-4e617c62c3998fb0a631b068ebdd159e6b6f286c.zip |
r5458: Generate a sane response to exceeding lookupsids limit. Truncate list to zero
and return NT_STATUS_NONE_MAPPED. This does not crash windows and maintains
the benefit of not overallocating memory. The previous response of
truncating to the MAX limit was not useful because it crashed lsass.exe on
windows (bug opened with MS), and it was also misleading the client to
believe that a complete answer was received.
(This used to be commit c03a93957404663bbd026668fb95d6c253524fe9)
Diffstat (limited to 'testsuite/libsmbclient/src/lseekdir/lseekdir_4.c')
0 files changed, 0 insertions, 0 deletions