Anomalie #30839
closedLDAP - SYNCHRO - CASSE - Identifiant crée systématiquement en minuscule par la synchro synchronizationScript.php
Description
Demande client :
Le script de synchro synchronizationScript.php qui synchronise les users utilise le UserModel.php qui convertit en minuscule le user_id.
Or, par la suite, le script de synchro effectue une comparaison avec samAccountName côté annuaire AD qui lui est en mixte majuscules/minuscules.
Ainsi, la comparaison échoue, et le user se retrouve suspendu.
On peut voir cette mise en minuscule ici :
/var/www/html/MaarchCourrier/src/app/user/models/UserModel.php, ligne 98
'user_id' => strtolower($args['user']['userId']),
A l'heure actuelle, notre seule solution de contournement, très discutable, est de laisser le script d'import crée le user, puis de modifier manuellement son user_id directement en base de données.
Updated by Emmanuel DILLARD 4 months ago
- Subject changed from Identifiant crée en minuscule par la synchro to Identifiant crée en minuscule par la synchro synchronizationScript.php
- Description updated (diff)
- Status changed from A qualifier to R&D - A étudier
- Version source set to 2301
Updated by Emmanuel DILLARD 4 months ago
- Subject changed from Identifiant crée en minuscule par la synchro synchronizationScript.php to LDAP - SYNCHRO - CASSE - Identifiant crée systématiquement en minuscule par la synchro synchronizationScript.php
Updated by Emmanuel DILLARD 4 months ago
- Status changed from R&D - A étudier to R&D - A planifier
Updated by Emmanuel DILLARD 3 months ago
- Target version changed from 2301 to 24.0.2
Updated by Emmanuel DILLARD 3 months ago
- Status changed from R&D - A planifier to R&D - En cours
- Target version set to 2301.4.4
Updated by Emmanuel DILLARD 3 months ago
- Copied to Anomalie #31262: Report 24 - LDAP - SYNCHRO - CASSE - Identifiant crée systématiquement en minuscule par la synchro synchronizationScript.php added
Updated by GIT LAB 3 months ago
[CREATION] MR sur 2301_releases (fix/30839/2301.4.x) par Joseph AKEL joseph.akel@maarch.org
https://labs.maarch.org/devteam/maarch-courrier-dev/commit/3117d473081e1622b5d11d31a47c378cdf76d881
Updated by Joseph AKEL 3 months ago
- Status changed from R&D - En cours to R&D - En test
Updated by Emmanuel DILLARD 3 months ago
- Status changed from R&D - En test to A revoir (S)
Updated by Emmanuel DILLARD 3 months ago
- Status changed from A revoir (S) to R&D - En test
Updated by Joseph AKEL 3 months ago
- Status changed from R&D - En test to R&D - Terminé