aboutsummaryrefslogtreecommitdiff
path: root/lib/hdb/hdb-ldap.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-03-28 17:02:13 +0000
committerCy Schubert <cy@FreeBSD.org>2022-03-28 17:02:13 +0000
commit49af073ed77202a54dfdd773cbcbbf7835c75baf (patch)
treeb180dbeab238a3d30b8d99d05c9cf0e30fbadd5a /lib/hdb/hdb-ldap.c
parentd684f11da759490a8d98d7b790796106285f4084 (diff)
Diffstat (limited to 'lib/hdb/hdb-ldap.c')
-rw-r--r--lib/hdb/hdb-ldap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/hdb/hdb-ldap.c b/lib/hdb/hdb-ldap.c
index 9ce4ba74f823..2ed7a6ba2596 100644
--- a/lib/hdb/hdb-ldap.c
+++ b/lib/hdb/hdb-ldap.c
@@ -1887,6 +1887,13 @@ LDAP_destroy(krb5_context context, HDB * db)
}
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,
const char *search_base,
@@ -2020,6 +2027,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;
}