summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-22 09:48:17 +1000
committerAndrew Tridgell <tridge@samba.org>2011-09-22 10:00:48 +1000
commit00ef18f19c39bf5083939ac79854bcd1ccc7cef7 (patch)
treea0bfaba0f37026451b03b75bff0f7cfbe179cc65 /source4/dsdb/samdb
parent73f2df6a378034455f44bb5ed94a7eba97e04448 (diff)
downloadsamba-00ef18f19c39bf5083939ac79854bcd1ccc7cef7.tar.gz
samba-00ef18f19c39bf5083939ac79854bcd1ccc7cef7.tar.bz2
samba-00ef18f19c39bf5083939ac79854bcd1ccc7cef7.zip
s4-dsdb: added NO_GLOBAL_CATALOG control
this control is used to ask samdb to not return searches with a basedn in partial repica partitions, which is needed to support the difference between a search on the 3268 GC ldap port and the non-GC 389 port
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/samdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 8fb7b644ad..f60f34b2ae 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -82,6 +82,9 @@ struct dsdb_control_password_change_status {
#define DSDB_CONTROL_PASSWORD_CHANGE_OID "1.3.6.1.4.1.7165.4.3.10"
+/* passed when we want to get the behaviour of the non-global catalog port */
+#define DSDB_CONTROL_NO_GLOBAL_CATALOG "1.3.6.1.4.1.7165.4.3.17"
+
struct dsdb_control_password_change {
const struct samr_Password *old_nt_pwd_hash;
const struct samr_Password *old_lm_pwd_hash;