lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2023-10-08T16:40:55Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1700Update AuthBasic handler doc : REST server is required2023-10-08T16:40:55ZChris AUpdate AuthBasic handler doc : REST server is required### Concerned version
Version: %"2.0.2"
Platform: Nginx
### Summary
Authentication via basic auth using LDAP seems to lose track of its sessions. It correctly authenticates to LDAP, but then denies the client. This creates many se...### Concerned version
Version: %"2.0.2"
Platform: Nginx
### Summary
Authentication via basic auth using LDAP seems to lose track of its sessions. It correctly authenticates to LDAP, but then denies the client. This creates many sessions in the database, one for each client connection, which can quickly overload the database.
### Logs
```
pr 02 21:52:51 janus2 LLNG[27146]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:51 janus2 LLNG[27146]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
Apr 02 21:52:51 janus2 LLNG[27146]: Good REST authentication for systems.test
Apr 02 21:52:51 janus2 LLNG[27146]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:51 janus2 LLNG[27146]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
Apr 02 21:52:54 janus2 LLNG[27148]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:54 janus2 LLNG[27148]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
Apr 02 21:52:56 janus2 LLNG[27148]: Good REST authentication for systems.test
Apr 02 21:52:56 janus2 LLNG[27148]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:56 janus2 LLNG[27148]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
Apr 02 21:52:57 janus2 LLNG[27152]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:57 janus2 LLNG[27152]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
Apr 02 21:52:59 janus2 LLNG[27152]: Good REST authentication for systems.test
Apr 02 21:52:59 janus2 LLNG[27152]: Session c8023fb986d5c2e0928ab64d83465516 can't be retrieved
Apr 02 21:52:59 janus2 LLNG[27152]: Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/vendor_perl/Apache/Session/Store/File.pm line 98.
```
### Backends used
Authentication/Users/Password = LDAP
localStorage=Cache::FileCache
Session storage = Apache::Session::File (was LDAP, but changed due to the number of sessions being written)2.0.3YaddYadd