mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
r7810: don't give errors when the ldap server sends us reference replies
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0a8c722c80
commit
f2b2d2626f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user