Skip to content

Commit

Permalink
Fix testing host ldaps
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jan 21, 2024
1 parent 918ed76 commit 7bc7c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -89,7 +90,7 @@ echo 'Login as email 5'
echo -e "\tUsing secure STARTTLS auth"
ldapwhoami -ZZ -H ${LDAP_URI} -D "[email protected],o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
echo -e "\tUsing secure SSL auth"
ldapwhoami -H ldaps://openldap -D "[email protected],o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
ldapwhoami -H ${LDAPS_URI} -D "[email protected],o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
echo -e "\tUsing simple auth"
ldapwhoami -H ${LDAP_URI} -D "[email protected],o=caldin.eu,ou=people,dc=example,dc=org" -w 'bandedetsylish'
echo -e "\tUsing SASL auth"
Expand Down

0 comments on commit 7bc7c82

Please sign in to comment.