Home | History | Annotate | Download | only in scripts

Lines Matching refs:LDAPSEARCH

73 	$LDAPSEARCH -s base -b "" -H $URI1 \
84 echo "ldapsearch failed ($RC)!"
89 echo -n "Using ldapsearch with startTLS with no server cert validation...."
90 $LDAPSEARCH -o tls_reqcert=never -ZZ -b "" -s base -H $URIP1 \
94 echo "ldapsearch (startTLS) failed ($RC)!"
101 echo -n "Using ldapsearch with startTLS with hard require cert...."
102 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard -ZZ -b "" -s base -H $URIP1 \
106 echo "ldapsearch (startTLS) failed ($RC)!"
114 echo -n "Using ldapsearch with startTLS and specific protocol version...."
115 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard -o tls_protocol_min=3.3 -ZZ -b "" -s base -H $URIP1 \
119 echo "ldapsearch (protocol-min) failed ($RC)!"
127 echo -n "Using ldapsearch with StartTLS and pinning enabled but a pin that doesn't match..."
128 $LDAPSEARCH -o tls_reqcert=never -o tls_peerkey_hash=abcd -ZZ \
132 echo "ldapsearch (StartTLS) succeeded when it should have failed($RC)!"
139 echo -n "Using ldapsearch with StartTLS and a valid plaintext pin..."
141 $LDAPSEARCH -o tls_reqcert=hard -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt \
146 echo "ldapsearch (StartTLS) failed ($RC)!"
156 echo -n "Using ldapsearch with StartTLS and an invalid hashed pin..."
158 $LDAPSEARCH -o tls_reqcert=hard -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt \
163 echo "ldapsearch (StartTLS) succeeded when it should have failed($RC)!"
173 echo -n "Using ldapsearch with StartTLS and a valid hashed pin..."
175 $LDAPSEARCH -o tls_reqcert=hard -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt \
180 echo "ldapsearch (StartTLS) failed ($RC)!"
190 echo -n "Using ldapsearch on $SURI2 with no server cert validation..."
191 $LDAPSEARCH -o tls_reqcert=never -b "cn=Subschema" -s base -H $SURIP2 \
196 echo "ldapsearch (ldaps) failed($RC)!"
203 echo -n "Using ldapsearch on $SURI2 with reqcert HARD and no CA cert. Should fail..."
204 $LDAPSEARCH -o tls_reqcert=hard -b "cn=Subschema" -s base -H $SURIP2 \
209 echo "ldapsearch (ldaps) succeeded when it should have failed($RC)!"
216 echo -n "Using ldapsearch on $SURI2 with CA cert and reqcert HARD..."
217 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard -b "cn=Subschema" -s base -H $SURIP2 \
222 echo "ldapsearch (ldaps) failed ($RC)!"
229 echo -n "Using ldapsearch on $SURI2 with pinning enabled but a pin that doesn't match..."
230 $LDAPSEARCH -o tls_reqcert=never -o tls_peerkey_hash=abcd \
236 echo "ldapsearch (ldaps) succeeded when it should have failed($RC)!"
243 echo -n "Using ldapsearch on $SURI2 with a valid plaintext pin..."
245 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard \
251 echo "ldapsearch (ldaps) failed ($RC)!"
261 echo -n "Using ldapsearch on $SURI2 with an invalid hashed pin..."
263 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard \
269 echo "ldapsearch (ldaps) succeeded when it should have failed($RC)!"
279 echo -n "Using ldapsearch on $SURI2 with a valid hashed pin..."
281 $LDAPSEARCH -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqcert=hard \
287 echo "ldapsearch (ldaps) failed ($RC)!"