Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2148

AD caching mis-behaving if the username case is changed/renamed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.3.2
    • 2.1
    • None
    • None

      If you change the username of an LDAP/AD user and re-sync the cache the new username is not picked up.

      One needs to disable/enable caching or change the username in the databse.

            [CWD-2148] AD caching mis-behaving if the username case is changed/renamed

            shihab added a comment -

            Actually, since Crowd can be configured to conditionally lower case the output, we need to cater for this case.

            So if a user/group is returned from the server (Crowd or LDAP) in a different case than to what is stored in the DB (during sync), we should do a case-insensitive comparison on the name and log case miss-matches are ERRORs in the log. We will not attempt to rename the user as other apps, such as JIRA, use the username as a foreign key in application data.

            shihab added a comment - Actually, since Crowd can be configured to conditionally lower case the output, we need to cater for this case. So if a user/group is returned from the server (Crowd or LDAP) in a different case than to what is stored in the DB (during sync), we should do a case-insensitive comparison on the name and log case miss-matches are ERRORs in the log. We will not attempt to rename the user as other apps, such as JIRA, use the username as a foreign key in application data.

            shihab added a comment -

            This is the same as not being able to deal will user renames - when we can deal with that, we will need to ensure that the case comparisons are exact matches.

            shihab added a comment - This is the same as not being able to deal will user renames - when we can deal with that, we will need to ensure that the case comparisons are exact matches.

              onevalainen Olli Nevalainen
              asridhar AjayA
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: