Rldap
using ldap bindings for rust, connecting on ldap server with docker containers envinronment
Build statically with musl
Run release
Pull docker images
rldap are the application image
rldap-osixia-ldap are the ldap image
Container .env configurations setup
LDAP_DOMAIN=jacaranda.local
LDAP_SERVER=rldap.jacaranda.local
LDAP_BASE_DN=dc=jacaranda,dc=local
LDAP_BIND_DN=cn=admin,dc=jacaranda,dc=local
LDAP_ADMIN_PASSWORD=Mypasswd@123
Test
Use the shell script test.sh to test rldap by creating two containers. One openldap server and other the rldap container that makes the ldap request. All connections by default are using ldaps in 636 port.
the openldap container that I used its docker-openldap I extend for my case following the advanced-user-guide
you need the shell scripts to test, ensure that they have permission
;
Make
use the Makefile to build, up, and test containers