What is required to make schannel.tdb TDB_CLEAR_IF_FIRST

Andrew Bartlett abartlet at samba.org
Sat Jun 12 02:23:34 MDT 2010


The semantics of schannel are quite clear (from windows behaviour on
reboots), that it is reasonable to reset this database - schannel.tdb -
at any time.  

As such, it should be an ideal candidate for TDB_CLEAR_IF_FIRST.  What
I'm wondering is, what do I need to do to implement this?  What are the
rules about TDB_CLEAR_IF_FIRST databases, and how do I set one up
correctly?

I'm asking this because my new ext4 based development system seems to
spend a very, very large amount of time in fsync() due to schannel
operations, whenever I'm doing a Samba4 'make test'.   

(I know there is a hack patch to disable fsync here in metze's repo
somewhere, but that's not the point...)

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100612/8ccd8d03/attachment.pgp>


More information about the samba-technical mailing list