From: Volker Lendecke Date: Mon, 25 Oct 2010 09:07:36 +0000 (+0200) Subject: s3: Pass tdb_flags to ctdbd when attaching to a db X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba-ctdb.git;a=commitdiff_plain;h=c6576ed2a1b772856f6da3d9cfd9a58e31fbb0a1 s3: Pass tdb_flags to ctdbd when attaching to a db This is required to make ctdb create databases with INCOMPATIBLE_HASH --- diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index fbd6395d06..2a283939a1 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -940,7 +940,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)));