lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2022-05-02T15:10:23Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/2699configuration restore from json handles \u escape sequence incorrectly2022-05-02T15:10:23ZBenjamin Demarteauconfiguration restore from json handles \u escape sequence incorrectly### Concerned version
Version: 2.0.13-2.el8
Platform: httpd (Apache)
### Summary
We update the config from an ansible playbook by saving the config, patching it and loading it back. When we add values with UTF-8 characters, the next ...### Concerned version
Version: 2.0.13-2.el8
Platform: httpd (Apache)
### Summary
We update the config from an ansible playbook by saving the config, patching it and loading it back. When we add values with UTF-8 characters, the next save shows garbled data.
### Logs
Nothing relevant
### Backends used
LDAP backend using OpenLDAP 2.4.46-18.el8.
### Possible fixes
Not sure where the characters get garbled, they are fine in the LDAP:
![image](/uploads/763e428e9ae8fa70a0bd0664ec6340ae/image.png)
The cache contains valid UTF-8:
```
00003b00 79 2c 52 61 64 69 75 73 00 00 00 00 0b 61 76 61 |y,Radius.....ava|
00003b10 69 6c 61 62 6c 65 32 46 04 03 00 00 00 04 04 03 |ilable2F........|
00003b20 00 00 00 02 17 13 49 6e 74 c3 a9 72 c3 aa 74 20 |......Int..r..t |
00003b30 47 c3 a9 6e c3 a9 72 61 6c 00 00 00 07 63 61 74 |G..n..ral....cat|
00003b40 6e 61 6d 65 0a 08 63 61 74 65 67 6f 72 79 00 00 |name..category..|
00003b50 00 04 74 79 70 65 00 00 00 08 30 30 30 31 2d 63 |..type....0001-c|
00003b60 61 74 04 03 00 00 00 05 0a 13 53 61 6d 70 6c 65 |at........Sample|
00003b70 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 00 00 00 | applications...|
00003b80 07 63 61 74 6e 61 6d 65 08 8b 00 00 00 05 6f 72 |.catname......or|
```
Server responds with `Content-Type: application/json; charset=utf-8`, but clearly not:
![image](/uploads/1bbcc87f0dc59cd7fcd23f9bea4b1b01/image.png)3.0.0Maxime BessonMaxime Bessonhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/2078Question : How to delegate Squid authentication to LemonLDAP ?2020-01-30T12:52:41ZJulien MaryQuestion : How to delegate Squid authentication to LemonLDAP ?Squid sits somewhere.
When a user shows up and is not authenticated, he is redirected to auth.example.com to authenticate, then squid allows the user to pass through.
What approach to do that ? Can it work if auth.example.com authentica...Squid sits somewhere.
When a user shows up and is not authenticated, he is redirected to auth.example.com to authenticate, then squid allows the user to pass through.
What approach to do that ? Can it work if auth.example.com authenticate with Google SAML SSO ?3.0.0