summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-21 11:55:48 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-21 21:44:39 +0100
commit280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88 (patch)
tree646c36ba18eae4ef050f314b38ef291743026f85 /source4/dsdb/samdb/ldb_modules
parentc16d4fb76d3a0c9c0f51790e3f448d6083f0f836 (diff)
downloadsamba-280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88.tar.gz
samba-280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88.tar.bz2
samba-280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88.zip
s4:operational LDB module - enable support for passing referrals through it
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 3b1b13faf5..b017f2383f 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -359,8 +359,7 @@ static int operational_callback(struct ldb_request *req, struct ldb_reply *ares)
return ldb_module_send_entry(ac->req, ares->message, ares->controls);
case LDB_REPLY_REFERRAL:
- /* ignore referrals */
- break;
+ return ldb_module_send_referral(ac->req, ares->referral);
case LDB_REPLY_DONE: