1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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 <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-10-17 20:18:12 +13:00 committed by Andrew Bartlett
parent 4e83dfb676
commit 3759403554

View File

@ -215,7 +215,7 @@ static krb5_error_code hdb_samba4_kpasswd_fetch_kvno(krb5_context context, HDB *
flags &= ~HDB_F_KVNO_SPECIFIED; flags &= ~HDB_F_KVNO_SPECIFIED;
/* Don't bother looking up a client or krbtgt. */ /* 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, ret = hdb_samba4_fetch_kvno(context, db,
kpasswd_principal, kpasswd_principal,