-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple ldap servers #53
Comments
Currently no plans to support that. We might be interested in merging patches if it can be implemented in a clean way (and preferably showing other projects successfully implementing something similar). /klas |
i would do that, by using the ldap_uri and enable it to read a url that looks like this: ldap://user:pass@host:port/dn,ldap://user:pass@host:port/dn i will added this after the merge-:) of my monster pull |
Dovecot allows multiple uris for ldap passdb and userdb lookups, I've briefly looked over their code and it seems that part of that is already supported in openldap library. |
I confirm that setting a connection timeout of 1 second via LDAP_OPT_NETWORK_TIMEOUT allows for faster switch in case of unavailable server. It's still not optimal but way better than the current behaviour. If you are interested in this, I'm willing to create a pull request to include this option into the module (maybe called ldap_connection_timeout?) |
That sounds OK for me @exeba I can review and merge something like that. |
Hello,
are you planning to support multiple ldap server redundancy in order to improve reliability?
Something like
auth required pam_yubico.so mode=client try_first_pass
id=3
verbose_otp
key=dcvEzJnnTwCCKLNkNEPEnRh2Fis=
ldap_uri1=ldap://
ldapdn1=
binddn1=
bindwp1=
ldap_uri2=ldap://
ldapdn2=
binddn2=
bindwp2=
urllist=
user_attr=uid
yubi_attr=yubiKeyId
That would be very nice!
TIA,
Stefano
The text was updated successfully, but these errors were encountered: