mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
b04e8b7557
"Inside ads_do_search_all_args(), if the first call to ads_do_paged_search_args() fails, the proper error status is returned. But, if the execution is already inside the loop to get all the accounts doing several calls to ads_do_paged_search_args(), and one of these calls times out, the status returned is from the *first* call, so success. This causes net_ads_search() to interpret the return from ads_do_search_retry() as success and print all the accounts returned, but it’s only a subset." Also ensure we free previously returned results on error in subsequent fetches. https://bugzilla.samba.org/show_bug.cgi?id=10387 Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jan 23 01:40:54 CET 2014 on sn-devel-104 |
||
---|---|---|
.. | ||
ads_ldap_protos.h | ||
ads_proto.h | ||
ads_status.c | ||
ads_status.h | ||
ads_struct.c | ||
authdata.c | ||
cldap.c | ||
cldap.h | ||
disp_sec.c | ||
kerberos_keytab.c | ||
kerberos_proto.h | ||
kerberos_util.c | ||
kerberos.c | ||
krb5_errs.c | ||
krb5_setpw.c | ||
ldap_printer.c | ||
ldap_schema.c | ||
ldap_schema.h | ||
ldap_user.c | ||
ldap_utils.c | ||
ldap.c | ||
ndr.c | ||
sasl_wrapping.c | ||
sasl.c | ||
sitename_cache.c | ||
sitename_cache.h | ||
util.c |