diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-10-02 11:11:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-10-02 12:20:58 +0200 |
commit | 551bbd853c87002fe068b5fb2a044c424ab7e874 (patch) | |
tree | 34d96ae98b3205b1a04db684ede362b7a13e9cb7 /source4/dsdb | |
parent | 3ebf3f316b003000b77499f494cf4d017ef870ad (diff) | |
download | samba-551bbd853c87002fe068b5fb2a044c424ab7e874.tar.gz samba-551bbd853c87002fe068b5fb2a044c424ab7e874.tar.bz2 samba-551bbd853c87002fe068b5fb2a044c424ab7e874.zip |
s4:partition: pass down the SEARCH_OPTIONS control as uncritical
metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/partition.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c index ad2901c308..ad3518e6b2 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.c +++ b/source4/dsdb/samdb/ldb_modules/partition.c @@ -466,6 +466,14 @@ static int partition_search(struct ldb_module *module, struct ldb_request *req) return LDB_ERR_OPERATIONS_ERROR; } + /* + * for now pass down the LDB_CONTROL_SEARCH_OPTIONS_OID control + * down as uncritical to make windows 2008 dcpromo happy. + */ + if (search_control) { + search_control->critical = 0; + } + /* TODO: Generate referrals (look for a partition under this DN) if we don't have the above control specified */ |