Network Account and local Account Name Not Synced After Account Merge

tahir
New Contributor III

We enrolled a device and, during the assistance migration, used a Time Machine backup from a non-enrolled machine. Using the Jamf login configuration profile, we allowed the merge of the network account with the local account. After merging, the local account name appears in the "Users and Groups" section and in the terminal, but the password of the network account is required.

What steps can we take to ensure that after the merge, the local account adopts the network account name? In our standard routine, we use a synced network account and local account.

3 REPLIES 3

Valcovish
New Contributor III

Hey @tahir,

It sounds like the local account isn’t fully syncing with the network account after the merge. A few things to check:

1. Confirm Account Linking

Run this in Terminal:

dscl . -read /Users/<local_account>

If the GeneratedUID doesn’t match the network account, they aren’t properly linked.

2. Force an Update

Try running:

sudo jamf policy -event updateAccount

This may push the sync.

3. Manually Rename the Local Account

If the local name isn’t updating, rename it:

sudo mv /Users/<old_local_name> /Users/<network_name>
sudo dscl . -change /Users/<old_local_name> RecordName <old_local_name> <network_name>

4. Fix Login Issues

If you’re getting password prompts, resetting the Keychain might help:

rm -rf ~/Library/Keychains/*

Hope this helps! Let me know if you need more details.

tahir
New Contributor III

Actually its added network account as an Alias to local account 

Realname : Test

Recordname : test jamf.test

tahir
New Contributor III

Upon Running this command with admin account "operation not permitted"

sudo mv /Users/<old_local_name> /Users/<network_name>