Samba4: 2.9 seconds to set a password???
simo
idra at samba.org
Tue Dec 2 04:34:06 GMT 2008
On Tue, 2008-12-02 at 14:18 +1100, Andrew Bartlett wrote:
> On Mon, 2008-11-24 at 09:08 +0100, Stefan (metze) Metzmacher wrote:
> > Volker Lendecke schrieb:
> > > Hi!
> > >
> > > Just did a setpassword on my old, poor 1.6GHz dual-core
> > > laptop:
> > >
> > > vlendec at delphin:~/git/s4-work/source4> time setup/setpassword vl --newpassword=foo
> > >
> > > real 0m2.941s
> > > user 0m2.552s
> > > sys 0m0.020s
> >
> > I think loading the schema is what makes it so slow.
>
> Correct. I hope to look into this, and tridge was similarly interested
> in chasing this down. Perhaps we might store a linearised copy of the
> in-memory schema as a cache.
Wouldn't it be simpler to require the server to run and use samr/ldap
operations ?
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <simo at redhat.com>
More information about the samba-technical
mailing list