-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ldap to dolibarr sync throws error if user already exists #22827
Comments
@maxkreg the script is to run only once, then when add a new dolibarr user you can associate it with an ldap user |
@maxkreg can you check (llx_const table) if
if |
okay, so it is a transmission, not a synchronization ;)
|
@maxkreg what is the finality ? dolibarr -> ldap or ldap ->dolibarr ? |
@maxkreg have you activated and configured the ldap module in Dolibarr? |
I am trying to sync ldap -> dolibarr (using sync_users_ldap2dolibarr.php). LDAP is configured, proven by the fact I can see entries from my LDAP server in Dolibarr´s user creation panel: |
@maxkreg it's very dificult to see a problem without to see the context... can you send me a private mail to see with remote maintenance please ? |
I can´t find a way to contact you, please shoot me an email (see profile). I will be back in office on monday. Thank you! |
Hello, Is it still the case on V18 ? |
Bug
Dolibarr is installed via Cloudron. Their ldap sync script calls sync_users_ldap2dolibarr.php.
In its first run, sync works fine. If I add another user to the LDAP server, the script remarks that the users synced before exist, that the new user does not and that it will create it (all good so far), and then it stalls with an error, revoking the newly synced user (see below). Is there anything I am doing wrong or is this expected bahaviour? Many thanks!
Environment Version
16.0.1
Environment OS
No response
Environment Web server
No response
Environment PHP
7.4.3
Environment Database
MySQL or MariaDB 8.0.30-0ubuntu0.20.04.2
Environment URL(s)
No response
Expected and actual behavior
No response
Steps to reproduce the behavior
No response
Attached files
No response
The text was updated successfully, but these errors were encountered: