Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-6875: After Username change in AD, Mac User cannot log in with new name

Centrify Identity Service, Mac Edition ,  

23 May,16 at 07:56 AM

Applies to: Centrify DirectControl Mac Edition v 5.2.x and above


Problem: After a User has their name changed in Active Directory (AD), they are not able to log into their Mac using their new Username.


Resolution: To correct this, an Administrator will need to update the Username locally on the Mac. This will ensure the local UID will match the new Username.

    To do this the following steps will need to be preformed:
    
      1. Log into the Mac as the Local Administrator, or an AD account with Administrative rights on the Mac
      2. Go to "System Preferences > Users and Groups" and unlock the padlock in the lower left corner,  and then right click (2 finger tap) on the User in the User list to expose the "Advanced Options..."

      User-added image

     3. The Advanced Section will expose the User ID (UID) and some other details. The Administrator will need to update the Account Name (for Login), and Full Name (Displayed in User list).    

      User-added image           User-added image         


     4. After this is updated, in terminal, type the following;

             "sudo adflush" (without quotes) and enter the Admin password when prompted. You should see the following if completed successfully.

Note: adflush will clear all locally cached credentials

             User-added image
    5. Once the flush is complete, log out and then log in as the User using the new Username

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.