From 7bc7c82246258b58318283622093bcc960677f24 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 21 Jan 2024 15:25:36 +0100 Subject: [PATCH] Fix testing host ldaps --- docker/tests/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/tests/run.sh b/docker/tests/run.sh index 724ec8e..7335fdc 100755 --- a/docker/tests/run.sh +++ b/docker/tests/run.sh @@ -5,6 +5,7 @@ ## LDAP_URI="ldap://ldap.server.intranet" +LDAPS_URI="ldaps://ldap.server.intranet" seedFile() { ldapadd -H ${LDAP_URI} -D "cn=admin,dc=example,dc=org" -w admin < "/tests/data/$1.ldiff" @@ -89,7 +90,7 @@ echo 'Login as email 5' echo -e "\tUsing secure STARTTLS auth" ldapwhoami -ZZ -H ${LDAP_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish' echo -e "\tUsing secure SSL auth" -ldapwhoami -H ldaps://openldap -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish' +ldapwhoami -H ${LDAPS_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish' echo -e "\tUsing simple auth" ldapwhoami -H ${LDAP_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish' echo -e "\tUsing SASL auth"