Some of the pages fail to load some of the time, for example the page to create a new account. It looks like the connection to the LDAP server failed, but there's a working backup ldap server setup in LAM and even if that one is also not available, IMHO it might be handled more gracefully.
error log:
[Thu Jul 02 11:09:37.774683 2026] [php:warn] [pid 14:tid 14] [client 172.21.0.3:48248] PHP Warning: ldap_connect(): Could not create new security context in /usr/share/ldap-account-manager/lib/account.inc on line 818, referer: https://myserver.tld/lam/templates/account/edit.php?editKey=editContainer1782990218ABC
[Thu Jul 02 11:09:37.775211 2026] [php:error] [pid 14:tid 14] [client 172.21.0.3:48248] PHP Fatal error: Uncaught TypeError: ldap_search(): Argument #1 ($ldap) must be of type LDAP|array, null given in /usr/share/ldap-account-manager/lib/account.inc:976\nStack trace:\n#0 /usr/share/ldap-account-manager/lib/account.inc(976): ldap_search()\n#1 /usr/share/ldap-account-manager/lib/account.inc(939): searchLDAPPaged()\n#2 /usr/share/ldap-account-manager/lib/modules/posixAccount.inc(3634): searchLDAP()\n#3 /usr/share/ldap-account-manager/lib/modules/posixAccount.inc(502): posixAccount->findGroups()\n#4 /usr/share/ldap-account-manager/lib/modules.inc(1810): posixAccount->init()\n#5 /usr/share/ldap-account-manager/lib/modules.inc(1750): accountContainer->initModules()\n#6 /usr/share/ldap-account-manager/templates/account/edit.php(124): accountContainer->new_account()\n#7 {main}\n thrown in /usr/share/ldap-account-manager/lib/account.inc on line 976, referer: https://myserver.tld/lam/templates/account/edit.php?editKey=editContainer1782990218ABC
Some of the pages fail to load some of the time, for example the page to create a new account. It looks like the connection to the LDAP server failed, but there's a working backup ldap server setup in LAM and even if that one is also not available, IMHO it might be handled more gracefully.
error log: