diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2011-02-22 17:06:15 +0200 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2011-02-27 00:10:44 +0100 |
commit | 561205b0166cb4a9c2efbb32b8429f6a83827eee (patch) | |
tree | 755765ccfe4287a3b1f84241972c0df4adba66ff /source4/dsdb/common | |
parent | ec5453427ea60990ac485849278e79a19511e1dd (diff) | |
download | samba-561205b0166cb4a9c2efbb32b8429f6a83827eee.tar.gz samba-561205b0166cb4a9c2efbb32b8429f6a83827eee.tar.bz2 samba-561205b0166cb4a9c2efbb32b8429f6a83827eee.zip |
s4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definition
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Feb 27 00:10:45 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |