Project

General

Profile

Actions

Anomalie #30839

closed

LDAP - SYNCHRO - CASSE - Identifiant crée systématiquement en minuscule par la synchro synchronizationScript.php

Added by Dorcas NANGUI 4 months ago. Updated 3 months ago.

Status:
R&D - Terminé
Priority:
1-Majeur
Assignee:
Target version:
Start date:
07/18/2024
Due date:

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.


Related issues 1 (0 open1 closed)

Copied to Backlog Courrier - Anomalie #31262: Report 24 - LDAP - SYNCHRO - CASSE - Identifiant crée systématiquement en minuscule par la synchro synchronizationScript.phpR&D - TerminéJoseph AKEL07/18/2024Actions
Actions #6

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
Actions #7

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
Actions #9

Updated by Emmanuel DILLARD 4 months ago

  • Status changed from R&D - A étudier to R&D - A planifier
Actions #12

Updated by Emmanuel DILLARD 3 months ago

  • Target version changed from 2301 to 24.0.2
Actions #14

Updated by Emmanuel DILLARD 3 months ago

  • Target version deleted (24.0.2)
Actions #15

Updated by Emmanuel DILLARD 3 months ago

  • Assignee deleted (Emmanuel DILLARD)
Actions #16

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
Actions #17

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
Actions #18

Updated by Joseph AKEL 3 months ago

  • Assignee set to Joseph AKEL
Actions #20

Updated by Joseph AKEL 3 months ago

  • Status changed from R&D - En cours to R&D - En test
Actions #22

Updated by Emmanuel DILLARD 3 months ago

  • Status changed from R&D - En test to A revoir (S)
Actions #23

Updated by Emmanuel DILLARD 3 months ago

  • Status changed from A revoir (S) to R&D - En test
Actions #24

Updated by Joseph AKEL 3 months ago

  • Status changed from R&D - En test to R&D - Terminé
Actions

Also available in: Atom PDF