Fix the SAMR cache so it works across completely insane
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 18 Nov 2005 23:15:47 +0000 (23:15 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 18 Nov 2005 23:15:47 +0000 (23:15 +0000)
commitcbc316787446210be4539dc68e9dbd80990faf88
tree9f3306ad6ab76950915f50e3eecf1b985fae8143
parentea75529343d77db2e060395c8a2ec3b0c7680fdd
Fix the SAMR cache so it works across completely insane
client behaviour (ie.:
open pipe/open SAMR handle/enumerate 0 - 1024
close SAMR handle, close pipe.
open pipe/open SAMR handle/enumerate 1024 - 2048...
close SAMR handle, close pipe.
And on ad-nausium. Amazing.... probably object-oriented
client side programming in action yet again.
This change should *massively* improve performance when
enumerating users from an LDAP database.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@11793 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/include/rpc_samr.h
source/rpc_parse/parse_samr.c
source/rpc_server/srv_samr.c
source/rpc_server/srv_samr_nt.c