Open jberanek opened 3 years ago
Try setting $ldap_debug = true;
in your config file to get some debug information which will appear in your PHP error log.
Original comment by: campbell-m
I can not login by ldap account ,it does not have error message.Thanks a lot.
Original comment by: ektrontek
Have you got $auth['type'] = 'ldap';
set in your config file? If so you should see debug output in your PHP error log.
Original comment by: campbell-m
It show message below: (php7.0 , ubuntu 16.04) ERROR: PHP's 'ldap' extension is not installed/enabled. Please check your MRBS and web server configurations.
Original comment by: ektrontek
Yes, what the error message is saying is that PHP on your server does not have the 'ldap' extension installed or enabled. See https://www.php.net/manual/en/book.ldap.php.
Original comment by: campbell-m
I have try to enable ldap setting at /etc/php/7.0/apache2/php.ini, but it still not work. extension = php_ldap.dll extension=php_mbstring.dll
Original comment by: ektrontek
Those settings only apply to Windows servers. For Ubuntu you might want to look at this post.
Original comment by: campbell-m
Thanks a lot.It work normally.
On Mon, 11 Jan 2021 at 23:22, Campbell Morrison < cimorrison@users.sourceforge.net> wrote:
Those settings only apply to Windows servers. For Ubuntu you might want to look at this post https://stackoverflow.com/questions/39786114/how-to-enable-ldap-with-php-7-0-in-ubuntu-server .
- [support-requests:#2273] https://sourceforge.net/p/mrbs/support-requests/2273/ ldap setting with mrbs*
Status: open Group: Created: Sat Jan 09, 2021 02:50 PM UTC by Hsu Yao Chang Last Updated: Mon Jan 11, 2021 02:10 PM UTC Owner: nobody
I found article which about ldap setting with mrbs, but follow the guidance , it can not work. I add ldap set in systemdefaults.inc.php, is there suggestion for ldap setting trouble shooting? Thanks a lot.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mrbs/support-requests/2273/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Original comment by: ektrontek
Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/720aaa3bf9/0187/3fbb/attachment/alternate
I found article which about ldap setting with mrbs, but follow the guidance , it can not work. I add ldap set in systemdefaults.inc.php, is there suggestion for ldap setting trouble shooting? Thanks a lot.
Reported by: ektrontek
Original Ticket: mrbs/support-requests/2273