r11793: Fix the SAMR cache so it works across completely insane
authorJeremy Allison <jra@samba.org>
Fri, 18 Nov 2005 23:15:47 +0000 (23:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:28 +0000 (11:05 -0500)
commit8ce705d9cc1b6a79d710a10ff38f72a0f1006dda
tree9f3306ad6ab76950915f50e3eecf1b985fae8143
parent7b6195b421b6c572d82d00b9a11bcf8579456c21
r11793: 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.
source/include/rpc_samr.h
source/rpc_parse/parse_samr.c
source/rpc_server/srv_samr.c
source/rpc_server/srv_samr_nt.c