1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r10641: fixed the error handling on search errors in the ildap backend

(This used to be commit e80d42933f)
This commit is contained in:
Andrew Tridgell 2005-09-30 03:42:07 +00:00 committed by Gerald (Jerry) Carter
parent bb77c2aa1e
commit 588abdba90

View File

@ -166,6 +166,7 @@ static int ildb_search(struct ldb_module *module, const struct ldb_dn *base,
0, &ldapres);
talloc_free(search_base);
if (!NT_STATUS_IS_OK(ildb->last_rc)) {
ldb_set_errstring(module, talloc_strdup(module, ldap_errstr(ildb->ldap, ildb->last_rc)));
return -1;
}