SYMPA_TEST_LDAP(1)
π NAME π
okay so bestie, welcome to sympa_test_ldap β and also sympa_test_ldap.pl, same girl, different name tag. this is the lil tool that lets you test an LDAP connection for Sympa. that's the whole job. it's giving "poke the LDAP server and see if it pokes back" π¦
β¨ SYNOPSIS β¨
here's the whole menu of how you can call her, exactly as written, no cap:
sympa_test_ldap.pl --filter=string --host=string --suffix=string
[ --attrs=[ string,...|* ] ]
[ --bind_dn=string [ --bind_password=string ] ]
[ --port=string ] [ --scope=base|one|sub ]
[ --use_tls=starttls|ldaps|none
[ --ca_file=string ] [ --ca_path=string ]
[ --ca_verify=none|optional|require ]
[ --ssl_cert=string ] [ --ssl_ciphers=string ] [ --ssl_key=string ]
[ --ssl_version=sslv2|sslv3|tlsv1|tlsv1_1|tlsv1_2|tlsv1_3 ] ]
sympa_test_ldap.pl --help
sympa_test_ldap.pl --version
so like, the first three β --filter, --host, --suffix β are not in brackets, which means they're the mandatory trio. the rest are all optional lil extras in square brackets. and yeah, --bind_password is nested inside --bind_dn's brackets, and the whole TLS family is nested inside --use_tls. nesting is real, respect the nesting. π«Ά
let's break down every single one, because you deserve to know:
--filter=stringβ the LDAP search filter. give her a string. required, no skipping.--host=stringβ where the LDAP server lives. string. required.--suffix=stringβ the search suffix. string. required. yes bestie, all three, every time.--attrs=[ string,...|* ]β which attributes you want back. either a comma-separated list of strings, or just*for the whole slay buffet.--bind_dn=stringβ the DN you're binding as. optional, and it's the parent of the next one.--bind_password=stringβ the password for that bind DN. only really makes sense hanging off--bind_dn.--port=stringβ the port, as a string. yes, a string. that's what it says. π--scope=base|one|subβ how deep the search goes. pick exactly one ofbase,oneorsub.--use_tls=starttls|ldaps|noneβ the TLS vibe check. pick one ofstarttls,ldapsornone. everything below only applies when you're in here.--ca_file=stringβ path to a CA file, as a string.--ca_path=stringβ path to a CA directory, as a string.--ca_verify=none|optional|requireβ how hard you want the cert checked. one ofnone,optionalorrequire.--ssl_cert=stringβ the SSL cert, as a string.--ssl_ciphers=stringβ the cipher list, as a string.--ssl_key=stringβ the SSL key, as a string.--ssl_version=sslv2|sslv3|tlsv1|tlsv1_1|tlsv1_2|tlsv1_3β which protocol version to speak. one ofsslv2,sslv3,tlsv1,tlsv1_1,tlsv1_2,tlsv1_3. (and yes, the old ones are on that list, we don't make the rules π)
--helpβ she tells you how to use her. that's it, that's the whole line.--versionβ she tells you who she is. main character energy, honestly. π
πΈ DESCRIPTION πΈ
so what does sympa_test_ldap.pl actually do, bestie? she tests the LDAP connection and the search operation using the LDAP driver of Sympa. that's the tea. she uses Sympa's own LDAP driver to do it β not some random other thing β so you're testing the exact vibe your actual Sympa is gonna have. π§
π SEE ALSO π
Sympa::DatabaseDriver::LDAPβ go read that one too, iykyk. it's the driver doing the heavy lifting behind the scenes. π
π HISTORY π
the lore, because you gotta know your roots:
testldap.plgot renamed tosympa_test_ldap.plback on Sympa 6.2. glow-up era. β¨- the
--use_ssland--use_start_tlsoptions were obsoleted by Sympa 6.2.15. rest in peace, girlies. πͺ¦ - instead, you use
--use_tls. that's the one now. periodt. π
fr fr, don't go reaching for--use_sslor--use_start_tlsβ they've been obsoleted since Sympa 6.2.15.--use_tlsis the moment. π
okay and that's the whole page, bestie β this was sympa version 6.2.70, dated 2026-07-13, and yes, that's the manual page SYMPA_TEST_LDAP(1). go forth and test those connections. slay. ππβ¨
π¦ where this page comes from
- ubuntu noble: sympa 6.2.70~dfsg-2+deb12u1build0.24.04.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms