summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-02 03:57:50 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 06:06:15 +0200
commitac8096e69d7357bac5430cde1d713a04acf58b57 (patch)
tree33ed470959b0774ee6c127dc367f13f443c2f7ae /source4/kdc
parent6d1ef3faeef25cea6783760f262c4639d3d54704 (diff)
downloadsamba-ac8096e69d7357bac5430cde1d713a04acf58b57.tar.gz
samba-ac8096e69d7357bac5430cde1d713a04acf58b57.tar.bz2
samba-ac8096e69d7357bac5430cde1d713a04acf58b57.zip
s4:kdc: fix compiler warning
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 2 06:06:15 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/kdc')
-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;