git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b8a96
)
r20322: I assume the options attribute of the nTDSDSA object contains
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Dec 2006 17:40:34 +0000
(17:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:29:40 +0000
(14:29 -0500)
mutiple flags not just 1 for being a global catalog
metze
source/ldap_server/ldap_server.c
patch
|
blob
|
history
diff --git
a/source/ldap_server/ldap_server.c
b/source/ldap_server/ldap_server.c
index c459c27961e36e457475c9de47fb0f15f3aae827..4a05ac88515f71c1dcd279df8bcc424c234d8fdb 100644
(file)
--- a/
source/ldap_server/ldap_server.c
+++ b/
source/ldap_server/ldap_server.c
@@
-485,8
+485,8
@@
static NTSTATUS add_socket(struct event_context *event_context,
talloc_free(res);
talloc_free(ldb);
- /* if options attribute
is 1
, then enable the global catlog */
- if (options
==
1) {
+ /* if options attribute
has the 0x00000001 flag set
, then enable the global catlog */
+ if (options
& 0x00000000
1) {
port = 3268;
status = stream_setup_socket(event_context, model_ops, &ldap_stream_ops,
"ipv4", address, &port, ldap_service);