summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/kdc/db-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c
index 88fecdd5ab..0bdad7b21a 100644
--- a/source4/kdc/db-glue.c
+++ b/source4/kdc/db-glue.c
@@ -1175,7 +1175,7 @@ static krb5_error_code samba_kdc_fetch_krbtgt(krb5_context context,
* in a TGS REP even if the client did not specify
* the canonicalize flag.
*/
- if (flags & HDB_F_CANON|HDB_F_FOR_TGS_REQ) {
+ if (flags & (HDB_F_CANON|HDB_F_FOR_TGS_REQ)) {
ret = krb5_copy_principal(context, principal, &alloc_principal);
if (ret) {
return ret;