From: Joseph Sutton Date: Tue, 17 Oct 2023 07:18:12 +0000 (+1300) Subject: s4:kdc: Use HDB flag constants instead of SDB ones X-Git-Tag: talloc-2.4.2~1207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=375940355477e5d564b633d81777a3eba0f162e5;p=thirdparty%2Fsamba.git 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 --- 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,