1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s3: Pass tdb_flags to ctdbd when attaching to a db

This is required to make ctdb create databases with INCOMPATIBLE_HASH
This commit is contained in:
Volker Lendecke 2010-10-25 11:07:36 +02:00
parent 33f65a93fe
commit 7aa45b06c0

View File

@ -886,7 +886,7 @@ NTSTATUS ctdbd_db_attach(struct ctdbd_connection *conn,
persistent persistent
? CTDB_CONTROL_DB_ATTACH_PERSISTENT ? CTDB_CONTROL_DB_ATTACH_PERSISTENT
: CTDB_CONTROL_DB_ATTACH, : CTDB_CONTROL_DB_ATTACH,
0, 0, data, NULL, &data, &cstatus); tdb_flags, 0, data, NULL, &data, &cstatus);
if (!NT_STATUS_IS_OK(status)) { if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, (__location__ " ctdb_control for db_attach " DEBUG(0, (__location__ " ctdb_control for db_attach "
"failed: %s\n", nt_errstr(status))); "failed: %s\n", nt_errstr(status)));