Error in cookie name used by lemonldap regexp
Concerned version
Version: 2.0.9
Platform: (Nginx/Apache/Node.js)
Summary
Basically if you enable sticky sessions on your lb with a cookie name based on lemonldap cookie (ex: sticky-lemonldap) lemon will not be able to work and retrieve session
Logs
[lemonldap-9b5c47b75-xwzc7] [Wed Dec 16 11:01:05 2020] [LLNG:39] [info] Session
http://10.2.1.47:80
can't be retrieved
[lemonldap-9b5c47b75-xwzc7] [Wed Dec 16 11:01:05 2020] [LLNG:39] [info] Session cannot be tied: Invalid session ID:
http://10.2.1.47:80
at /usr/share/perl5/Apache/Session/Generate/MD5.pm lin
e 42, <DATA> line 153.
[lemonldap-9b5c47b75-xwzc7]
Backends used
For any bug on configuration/sessions storage, give us details on backends
Possible fixes
Fix the current regexp used to match specific words/ real cookie name setup in manager