Skip to content

Commit 7bc7c82

Browse files
committed
Fix testing host ldaps
1 parent 918ed76 commit 7bc7c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/tests/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
##
66

77
LDAP_URI="ldap://ldap.server.intranet"
8+
LDAPS_URI="ldaps://ldap.server.intranet"
89

910
seedFile() {
1011
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'
8990
echo -e "\tUsing secure STARTTLS auth"
9091
ldapwhoami -ZZ -H ${LDAP_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
9192
echo -e "\tUsing secure SSL auth"
92-
ldapwhoami -H ldaps://openldap -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
93+
ldapwhoami -H ${LDAPS_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
9394
echo -e "\tUsing simple auth"
9495
ldapwhoami -H ${LDAP_URI} -D "mail=elana@caldin.eu,o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
9596
echo -e "\tUsing SASL auth"

0 commit comments

Comments
 (0)