From 561205b0166cb4a9c2efbb32b8429f6a83827eee Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Tue, 22 Feb 2011 17:06:15 +0200 Subject: s4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definition Autobuild-User: Kamen Mazdrashki Autobuild-Date: Sun Feb 27 00:10:45 CET 2011 on sn-devel-104 --- source4/dsdb/common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/common/util.c') diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index e711a324f8..67328c65c4 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -1910,7 +1910,7 @@ bool samdb_is_gc(struct ldb_context *ldb) talloc_free(tmp_ctx); /* if options attribute has the 0x00000001 flag set, then enable the global catlog */ - if (options & 0x000000001) { + if (options & DS_NTDSDSA_OPT_IS_GC) { return true; } return false; -- cgit