diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-21 13:42:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:38 -0500 |
commit | bec00581247c9062ea0acce6037ef75ab188548c (patch) | |
tree | edcf65cd5f86e49c580177266e5544b499e2bc24 /source4 | |
parent | 062e0f83258b6c8d8fa48e42e157331de5ce4686 (diff) | |
download | samba-bec00581247c9062ea0acce6037ef75ab188548c.tar.gz samba-bec00581247c9062ea0acce6037ef75ab188548c.tar.bz2 samba-bec00581247c9062ea0acce6037ef75ab188548c.zip |
r7810: don't give errors when the ldap server sends us reference replies
(This used to be commit f2b2d2626f5eb4fbd7d7c5cdcde486d00fc19447)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/ldap/ldap_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c index 32bd6656d6..a8463f7872 100644 --- a/source4/libcli/ldap/ldap_client.c +++ b/source4/libcli/ldap/ldap_client.c @@ -130,7 +130,8 @@ static void ldap_match_message(struct ldap_connection *conn, struct ldap_message req->replies[req->num_replies] = talloc_steal(req->replies, msg); req->num_replies++; - if (msg->type != LDAP_TAG_SearchResultEntry) { + if (msg->type != LDAP_TAG_SearchResultEntry && + msg->type != LDAP_TAG_SearchResultReference) { /* currently only search results expect multiple replies */ req->state = LDAP_REQUEST_DONE; |