Add hdb_set_sync() method

This commit is contained in:
Nicolas Williams
2017-10-10 13:06:21 -05:00
parent e3cc7dfb94
commit 5bcbe2125b
7 changed files with 140 additions and 54 deletions

View File

@@ -1890,6 +1890,13 @@ LDAP_destroy(krb5_context context, HDB * db)
return ret;
}
static krb5_error_code
LDAP_set_sync(krb5_context context, HDB * db, int on)
{
(void)on;
return 0;
}
static krb5_error_code
hdb_ldap_common(krb5_context context,
HDB ** db,
@@ -2024,6 +2031,7 @@ hdb_ldap_common(krb5_context context,
(*db)->hdb__put = NULL;
(*db)->hdb__del = NULL;
(*db)->hdb_destroy = LDAP_destroy;
(*db)->hdb_set_sync = LDAP_set_sync;
return 0;
}