Fix HDB two-phase commit for LDAP backend
We can't replay log entries when recovering if the backend is shared by writers with separate logs (or no logs at all), i.e., on other hosts.
This commit is contained in:
@@ -2002,7 +2002,7 @@ hdb_ldap_common(krb5_context context,
|
||||
|
||||
(*db)->hdb_master_key_set = 0;
|
||||
(*db)->hdb_openp = 0;
|
||||
(*db)->hdb_capability_flags = 0;
|
||||
(*db)->hdb_capability_flags = HDB_CAP_F_SHARED_DIRECTORY;
|
||||
(*db)->hdb_open = LDAP_open;
|
||||
(*db)->hdb_close = LDAP_close;
|
||||
(*db)->hdb_fetch_kvno = LDAP_fetch_kvno;
|
||||
|
Reference in New Issue
Block a user