s4:kdc: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2011 01:57:50 +0000 (03:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2011 04:06:15 +0000 (06:06 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Aug  2 06:06:15 CEST 2011 on sn-devel-104

source4/kdc/db-glue.c

index 88fecdd5ab13212221c8a3cf30b1f196ef4853a3..0bdad7b21ab2d46df9524064b21433de44d446fc 100644 (file)
@@ -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;