summaryrefslogtreecommitdiff
path: root/source3/include/dbwrap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-03-27 12:12:30 -0700
committerJeremy Allison <jra@samba.org>2009-03-27 12:13:13 -0700
commitd942d248d6207312226d597a59c4772aaae614b1 (patch)
treeaa508fc245a9857bcc1869c22adfbb8aca4bbec6 /source3/include/dbwrap.h
parent66b97d36b9a086f2ef76f2d42a07bfdbdaa0f00d (diff)
downloadsamba-d942d248d6207312226d597a59c4772aaae614b1.tar.gz
samba-d942d248d6207312226d597a59c4772aaae614b1.tar.bz2
samba-d942d248d6207312226d597a59c4772aaae614b1.zip
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. For the clustering case.
Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy.
Diffstat (limited to 'source3/include/dbwrap.h')
-rw-r--r--source3/include/dbwrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h
index 16f10cc125..1803587c4a 100644
--- a/source3/include/dbwrap.h
+++ b/source3/include/dbwrap.h
@@ -54,6 +54,8 @@ struct db_context {
bool persistent;
};
+bool db_is_local(const char *name);
+
struct db_context *db_open(TALLOC_CTX *mem_ctx,
const char *name,
int hash_size, int tdb_flags,