Do we have tests in "make tests" for the ldap client functions?
Andrew Bartlett
abartlet at samba.org
Mon Jul 30 18:28:04 UTC 2018
On Mon, 2018-07-30 at 17:41 +0300, Nadezhda Ivanova via samba-technical
wrote:
> Hi Team,
>
> I'm looking into a crash that happens during provisioning of the
> OpenLDAP back-end, and I was wondering if there are any tests for the
> ldap client functions (specifically ldap_bind_sasl)?
>
> I see some in source4/torture/ldap, but I can't figure out if they are
> actually being run, or how to run them.
Yes, looks like it is in source4/torture/ldap/basic.c
I think they are being run by source4/selftest/tests.py here:
for t in smbtorture4_testsuites("ldap."):
plansmbtorture4testsuite(t, "ad_dc_ntvfs", '-U"$USERNAME%$PASSWORD"
//$SERVER_IP/_none_')
I would run make test TESTS=ldap and then look in the subunit file for
the commands being run if you need more clues.
I hope this helps,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list