Do we have tests in "make tests" for the ldap client functions?

Andrew Bartlett abartlet at
Mon Jul 30 18:28:04 UTC 2018

On Mon, 2018-07-30 at 17:41 +0300, Nadezhda Ivanova via samba-technical 
> 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/ here:

for t in smbtorture4_testsuites("ldap."):
    plansmbtorture4testsuite(t, "ad_dc_ntvfs", '-U"$USERNAME%$PASSWORD" 

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             
Authentication Developer, Samba Team
Samba Developer, Catalyst IT

More information about the samba-technical mailing list