git.samba.org
/
amitay
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e83dfb
)
s4:kdc: Use HDB flag constants instead of SDB ones
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Tue, 17 Oct 2023 07:18:12 +0000
(20:18 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 19 Oct 2023 21:37:36 +0000
(21:37 +0000)
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>
source4/kdc/hdb-samba4.c
patch
|
blob
|
history
diff --git
a/source4/kdc/hdb-samba4.c
b/source4/kdc/hdb-samba4.c
index 7d80358c8897b7fa05f1441e238767b4840abeb0..92e9e609196353bcccfd9ba61fd97de7f6e1fe43 100644
(file)
--- 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|S
DB_F_GET_KRBTGT);
+ flags &= ~(
HDB_F_GET_CLIENT|H
DB_F_GET_KRBTGT);
ret = hdb_samba4_fetch_kvno(context, db,
kpasswd_principal,