summaryrefslogtreecommitdiffstats
path: root/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 10:28:15 +1000
committerKarolin Seeger <kseeger@samba.org>2011-05-17 09:19:37 +0200
commit7afa1f42c6a2c7e09fba8e51e3cacb56674c95cc (patch)
tree39c725ab97125f7b890b3e887a69e1783597dfb5 /libcli
parent37bb87462868342fcb818d007f44aa81a9df1718 (diff)
downloadsamba-7afa1f42c6a2c7e09fba8e51e3cacb56674c95cc.tar.gz
samba-7afa1f42c6a2c7e09fba8e51e3cacb56674c95cc.tar.xz
samba-7afa1f42c6a2c7e09fba8e51e3cacb56674c95cc.zip
lib/util Move source3 tdb_wrap_open() into the common code.
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett (cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06) (cherry picked from commit a7f39847ebf29b821aab2570a2f2bd841a28e836)
Diffstat (limited to 'libcli')
-rw-r--r--libcli/auth/schannel_state_tdb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcli/auth/schannel_state_tdb.c b/libcli/auth/schannel_state_tdb.c
index c332bae8baa..ca35a11abe0 100644
--- a/libcli/auth/schannel_state_tdb.c
+++ b/libcli/auth/schannel_state_tdb.c
@@ -27,9 +27,7 @@
#include "../lib/util/util_tdb.h"
#include "../libcli/auth/schannel.h"
#include "../librpc/gen_ndr/ndr_schannel.h"
-#if _SAMBA_BUILD_ == 4
-#include "tdb_wrap.h"
-#endif
+#include "lib/util/tdb_wrap.h"
#define SECRETS_SCHANNEL_STATE "SECRETS/SCHANNEL"