summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/common/ldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index b52cc8e301..7321f7a6f7 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -565,6 +565,7 @@ int ldb_search_default_callback(struct ldb_context *ldb, void *context, struct l
res->refs[n] = talloc_move(res->refs, &ares->referral);
res->refs[n + 1] = NULL;
+ break;
case LDB_REPLY_EXTENDED:
case LDB_REPLY_DONE:
/* TODO: we should really support controls on entries and referrals too! */