ldap tests: test scheme for referrals
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 21 May 2019 01:14:08 +0000 (13:14 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 May 2019 03:19:18 +0000 (03:19 +0000)
commit6ccf74cf878c295903673e3a1d1ed924a5e87547
tree7c5037f6fed5bd48d4d37200c450cb1583f74a52
parent163897f12538ae12dbc2bd556adcc1abc4f0f438
ldap tests: test scheme for referrals

Ensure that the referrals returned in a search request use the same
scheme as the request, i.e. referrals recieved via ldap are prefixed
with "ldap://" and those over ldaps are prefixed with "ldaps://"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12478

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/ldap_referrals.py [new file with mode: 0644]
selftest/knownfail.d/ldap_referrals [new file with mode: 0644]
source4/selftest/tests.py