1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +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
? 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)));