summaryrefslogtreecommitdiff
path: root/source4/torture/ldap/ldap_sort.c
Commit message (Collapse)AuthorAgeFilesLines
* s4: popt: Global replace of cmdline_credentials -> ↵Jeremy Allison2017-05-111-1/+1
| | | | | | | | | | | popt_get_cmdline_credentials(). Add one use of popt_set_cmdline_credentials(). Fix 80 column limits when cmdline_credentials changes to popt_get_cmdline_credentials(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* torture_ldap_sort: avoid segfaultDouglas Bagnall2016-03-091-0/+1
| | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* s4:torture/ldap: add includes to avoid compiler warningsStefan Metzmacher2014-04-021-1/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-2/+2
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the ↵Matthias Dieter Wallnöfer2010-04-121-2/+2
| | | | | | "root_dn" for the sort test The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
* s4:torture/ldap/ldap_sort - Add some casts to suppress warningsMatthias Dieter Wallnöfer2009-12-011-7/+7
|
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-231-1/+1
| | | | | | | | | This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
* s4:torture rework LDAP sort testAndrew Bartlett2009-08-041-0/+156
This reworks the test to be part of the LDAP tests, to make better use of the torture API and the ldb API (in particular around adding controls), and a general cleanup. This also adds the test to the 'make test' run. Andrew Bartlett