diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/ldb_ldap/ldb_ldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c index 74ef1fcb47..9de67e5ad7 100644 --- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c +++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c @@ -557,7 +557,7 @@ static int lldb_parse_result(struct ldb_handle *handle, LDAPMessage *result) case LDAP_RES_SEARCH_REFERENCE: if (ldap_parse_result(lldb->ldap, result, &handle->status, &matcheddnp, &errmsgp, - &referralsp, &serverctrlsp, 1) != LDAP_SUCCESS) { + &referralsp, &serverctrlsp, 0) != LDAP_SUCCESS) { ret = LDB_ERR_OPERATIONS_ERROR; goto error; } @@ -581,7 +581,7 @@ static int lldb_parse_result(struct ldb_handle *handle, LDAPMessage *result) case LDAP_RES_SEARCH_RESULT: if (ldap_parse_result(lldb->ldap, result, &handle->status, &matcheddnp, &errmsgp, - &referralsp, &serverctrlsp, 1) != LDAP_SUCCESS) { + &referralsp, &serverctrlsp, 0) != LDAP_SUCCESS) { handle->status = LDB_ERR_OPERATIONS_ERROR; goto error; } @@ -609,7 +609,7 @@ static int lldb_parse_result(struct ldb_handle *handle, LDAPMessage *result) case LDAP_RES_MODDN: if (ldap_parse_result(lldb->ldap, result, &handle->status, &matcheddnp, &errmsgp, - &referralsp, &serverctrlsp, 1) != LDAP_SUCCESS) { + &referralsp, &serverctrlsp, 0) != LDAP_SUCCESS) { handle->status = LDB_ERR_OPERATIONS_ERROR; goto error; } |