|
|
Metze posted me a patch (schema-loading-13.diff), to load the schema at
LDB startup, which I hope to use for MMC write support.
The problem, as metze pointed out, is that it is slow.
In the attached patch, for which I would like suggestions as to cleaner
methods, I now keep a global variable, with the loaded schema.
How should we better control this? In particular, we only really want
to do this for smbd - but what is the best way to tell that we are 'in
smbd'? Likewise, we will at some point need invalidation.
make quickest times:
33sec without
174sec with
39sec with global variable hack
Andrew Bartlett
--
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
schema-loading-13-global.diff
Description: Text Data
|
|