-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to synchronize existing LDAP users #12299
Comments
It works with PHP 7.4.30 |
Please provide the full stack trace for the provided warnings/errors from the |
Hi, with GLPI v10.0.2, php v8.1.7 Same problem when I force synchronization : Output from files/_log/php-errors.php:
Edit : seems to be related to "Authentication > LDAP Directory > "LDAP NAME" > tab "Groups" > search type" who search type is [Users+groups or Groups Only] or if "Filter to search in groups" is not defined correctly. |
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days. If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly. |
Just stumbled upon this and I think the error message in your log is caused by a failing unsanitize() of the ldap group search filter, as I described in #11497. I'm patching for this since 10.0.0 (with one of the quick&dirty fixes included in my bug report and I'm running on Debian 11's PHP 7.4.30 btw). You should be able to elude the effects of this bug, if you could manage to get rid of any characters in your GROUP (!) search filter, that require escaping (like '&'). |
Hi, Can you check #12794 ? Regards |
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days. If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly. |
Code of Conduct
Is there an existing issue for this?
Version
10.0.2
Bug description
Hi,
Im on a fresh install of GLPI 10.0.2.
My first LDAP user sync worked but for existing users, sync not working.
Relevant log output
Page URL
No response
Steps To reproduce
1 - Go to Administration -> Users
2 - Try to sync existing LDAP users (expert mode or not)
3 - Check one user or more
4 - Sync
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
Plugins list
Anything else?
No response
The text was updated successfully, but these errors were encountered: