From 7aa45b06c04cdeea44ab474581fc97360cecccde Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 25 Oct 2010 11:07:36 +0200 Subject: s3: Pass tdb_flags to ctdbd when attaching to a db This is required to make ctdb create databases with INCOMPATIBLE_HASH --- source3/lib/ctdbd_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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))); -- cgit