Conversation
baseDN ignored if ldapAuthcontainers is set
Close button saves changes
|
@kulikov-a maybe we better add a method |
|
@AdSchellevis |
|
@AdSchellevis it's kind of done.
please take a look when you have time |
|
@kulikov-a looks good, thanks, I'll pull it in to master, haven't tried it myself yet, but don't see any reason why it shouldn't. |
|
Wow! thanks!!! |
|
@kulikov-a made a small adjustment after testing (3277c0b), when you can't connect, there's an ldap connect error but no LDAP_OPT_ERROR_STRING, so it's better to omit it in that case. |
|
@AdSchellevis thanks! it is always better to add existing ones ) |
Improve error handling in ldap authentication
PHP Fatal error: Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76
PHP Fatal error: Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76 (cherry picked from commit a7ae8c4)
PHP Fatal error: Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76 (cherry picked from commit a7ae8c4)
…/core#4784 PHP Fatal error: Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76
Hi!
based on https://forum.opnsense.org/index.php?topic=21605.0
baseDN igonred in search function if ldapauthcontainers is set. help text for "Authentication containers" input fixed
core/src/opnsense/mvc/app/library/OPNsense/Auth/LDAP.php
Lines 160 to 163 in 25959a4
In select "Authentication containers" modal Close button is actually a Save button (writes changes to the "Authentication containers" input)
Some debug info added to System: Access: Tester page for LDAP servers


thanks!