source3/winbindd: convert to dbwrap
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jun 2012 13:16:57 +0000 (22:46 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jun 2012 13:16:57 +0000 (22:46 +0930)
commited9178f4d49f02eb005c3cc7e3ac126c42e2c7f1
tree58b1370f24a6d7d309bdeb3215ec00b914299895
parenteb9cd1992e905c47d143e8e9be592104d2f0c6dd
source3/winbindd: convert to dbwrap

We temporarily comment out the tdb_validate calls, until the next patch
where we change that to db_validate.

There's a subtlety here: rather than unlinking winbindd_cache.tdb, we
open it with O_TRUNC.  That way it works even if it's actually
winbindd_cache.ntdb.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_proto.h