Samba4: 2.9 seconds to set a password???

Andrew Bartlett abartlet at samba.org
Tue Dec 2 03:18:52 GMT 2008


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. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com




More information about the samba-technical mailing list