Closed poing closed 8 years ago
You should try again with the latest stable version, several changes have been made for LDAP auth. I tested myself with username with a dot "firstname.lastname" and it's working correctly.
Still no joy! :disappointed:
I've had mixed results with the third-party LDAP provider. It's been hit-or-miss, depending on the LDAP methods / libraries used by various applications.
If you can not reproduce the issue, I'll live with it. Thanks for taking a look.
BTW: The changes to LDAP auth are not backward compatible. Some of the setting names changed, so it threw a couple errors on the upgrade. LDAP_USER_ATTRIBUTE_USERNAME
and LDAP_USER_BASE_DN
were added.
You might want to add a fix, something like this....
// If not set, empty(), etc...
if (!isset(LDAP_USER_BASE_DN)) {
define(LDAP_USER_BASE_DN, LDAP_ACCOUNT_BASE);
}
All breaking changes are documented in the ChangeLog and the documentation is up to date.
When using a third-party LDAP provider, single usernames can authenticate. But usenames with a dot
.
can not. PHP LDAP works with the provider for other applications, so there could be an escape issue in kanboard.guest = OK guest.user = FAILS
I tired to change
LDAP_USER_PATTERN
to add quotes, but the issue persisted.Any thoughts?