Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PHP error after login #193

Open
dvopet opened this issue Mar 20, 2023 · 1 comment
Open

PHP error after login #193

dvopet opened this issue Mar 20, 2023 · 1 comment

Comments

@dvopet
Copy link

dvopet commented Mar 20, 2023

Hello,

I have issue, after login to LUM, I see this error messages. LUM version is v1.10 (also tried latest before with same result).

Warning: Undefined array key 0 in /opt/ldap_user_manager/includes/ldap_functions.inc.php on line 534

Warning: Trying to access array offset on value of type null in /opt/ldap_user_manager/includes/ldap_functions.inc.php on line 534

Fatal error: Uncaught TypeError: preg_grep(): Argument #2 ($array) must be of type array, null given in /opt/ldap_user_manager/includes/ldap_functions.inc.php:534 Stack trace: #0 /opt/ldap_user_manager/includes/ldap_functions.inc.php(534): preg_grep('/^admin$/i', NULL) #1 /opt/ldap_user_manager/log_in/index.php(26): ldap_is_group_member(Object(LDAP\Connection), 'admins', 'admin') #2 {main} thrown in /opt/ldap_user_manager/includes/ldap_functions.inc.php on line 534

The rest of page is blank.

edit: maybe the reason is this:
[Mon Mar 20 07:39:54.304748 2023] [php:notice] [pid 30] [client 10.111.70.21:33792] LDAP RFC2307BIS detection - couldn't find AUXILIARY in the posixGroup definition which suggests we're not using the RFC2307BIS schema. Set FORCE_RFC2307BIS to TRUE if you DO use RFC2307BIS. , referer: https://kopano.cust.itit.cz:4433/log_in/

Tried LDAP_FORCE_RFC2307BIS=TRUE, but it does not work.

Thanks for any help.

Petr

lum_login_trace.txt

@wheelybird
Copy link
Owner

Hi. Did you run the initial setup? https://github.com/wheelybird/ldap-user-manager#initial-setup

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants