summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-25 11:07:36 +0200
committerVolker Lendecke <vl@samba.org>2010-10-26 15:43:31 +0200
commit7aa45b06c04cdeea44ab474581fc97360cecccde (patch)
tree1177a3fe55364a03887b0e5bbc1475a7f3e3a9f3 /source3
parent33f65a93fe905d60d8fca85327ddbbf3f8c7fe6e (diff)
downloadsamba-7aa45b06c04cdeea44ab474581fc97360cecccde.tar.gz
samba-7aa45b06c04cdeea44ab474581fc97360cecccde.tar.bz2
samba-7aa45b06c04cdeea44ab474581fc97360cecccde.zip
s3: Pass tdb_flags to ctdbd when attaching to a db
This is required to make ctdb create databases with INCOMPATIBLE_HASH
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 101ab30a6d..f8d6245d8a 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -886,7 +886,7 @@ NTSTATUS ctdbd_db_attach(struct ctdbd_connection *conn,
persistent
? CTDB_CONTROL_DB_ATTACH_PERSISTENT
: CTDB_CONTROL_DB_ATTACH,
- 0, 0, data, NULL, &data, &cstatus);
+ tdb_flags, 0, data, NULL, &data, &cstatus);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, (__location__ " ctdb_control for db_attach "
"failed: %s\n", nt_errstr(status)));