s4:schannel merge code with s3
authorSimo Sorce <idra@samba.org>
Thu, 18 Feb 2010 20:11:25 +0000 (15:11 -0500)
committerSimo Sorce <idra@samba.org>
Tue, 23 Feb 2010 17:46:50 +0000 (12:46 -0500)
commit1203de99b178a2d7f6c7c6534c42d05242322fe3
tree06ec84ac7e0fe21b01322c0517cabb04743dacf3
parent1d0938c629904e14c3769036d1a8d1a6d7b3f34b
s4:schannel merge code with s3

After looking at the s4 side of the (s)channel :) I found out that it makes
more sense to simply make it use the tdb based code than redo the same changes
done to s3 to simplify the interface.

Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet
that does not solve the lookup speed, with ldb it is always going to be slower.

Looking through the history it is evident that the schannel database doesn't
really need greate expanadability. And lookups are always done with a single
Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated.

The schannel database is not really a persistent one. It can be discared during
an upgrade without causing any real issue. all it contains is temproary session
data.
libcli/auth/config.mk
source4/auth/gensec/config.mk
source4/auth/gensec/schannel.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/smbd/server.c
source4/torture/rpc/samr.c