From 375940355477e5d564b633d81777a3eba0f162e5 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 17 Oct 2023 20:18:12 +1300 Subject: [PATCH] s4:kdc: Use HDB flag constants instead of SDB ones These flags are passed to us by Heimdal, and so they are HDB flags, not SDB flags. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source4/kdc/hdb-samba4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index 7d80358c889..92e9e609196 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -215,7 +215,7 @@ static krb5_error_code hdb_samba4_kpasswd_fetch_kvno(krb5_context context, HDB * flags &= ~HDB_F_KVNO_SPECIFIED; /* Don't bother looking up a client or krbtgt. */ - flags &= ~(SDB_F_GET_CLIENT|SDB_F_GET_KRBTGT); + flags &= ~(HDB_F_GET_CLIENT|HDB_F_GET_KRBTGT); ret = hdb_samba4_fetch_kvno(context, db, kpasswd_principal,