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 commit is contained in:
parent
131e5dfe69
commit
e80d42933f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user