update ldap (#20724)

update openldap image and tls settings

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2024-07-11 15:08:49 +08:00 committed by GitHub
parent f86f1cebc3
commit 0da13ebd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,9 +6,11 @@ docker run --env LDAP_ORGANISATION="Harbor." \
--env LDAP_DOMAIN="example.com" \
--env LDAP_ADMIN_PASSWORD="admin" \
--env LDAP_TLS_VERIFY_CLIENT="never" \
--env LDAP_TLS_PROTOCOL_MIN=3.0 \
--env LDAP_TLS_CIPHER_SUITE="normal" \
-p 389:389 \
-p 636:636 \
--detach --name $NAME osixia/openldap:1.1.7
--detach --name $NAME osixia/openldap:1.5.0
sleep 5
docker cp ldap_test.ldif ldap_server:/