ecto_ldap v0.4.0 Ecto.Ldap.Adapter.Sandbox
Fake LDAP server which returns realistic results for specific LDAP calls.
Useful when using ecto_ldap
in testing.
use Mix.Config
config :my_app, MyApp.Repo,
ldap_api: Ecto.Ldap.Adapter.Sandbox,
adapter: Ecto.Ldap.Adapter,
hostname: "ldap.example.com",
base: "dc=example,dc=com",
port: 636,
ssl: true,
user_dn: "uid=sample_user,ou=users,dc=example,dc=com",
password: "password",
pool_size: 1