Posted on 04-17-2023 01:04 AM
Not really a Jamf problem, but maybe someone here knows something. For a few months now I have had the problem that some Macs just wont accept a users credentials after a few weeks or months. I have no idea what triggers this. One moment it works and one restart later the user just cant log in anymore. This happened with Monterey and Ventura. It also happened multiple times and I am sure it was not just typos.
This really is a problem because the Macs are encrpyted, so the users cant access their data anymore.
I cant really investigate this, because once the Macs are locked I cannot access the anymore.
I am using AD bound Macs with network accounts.
Solved! Go to Solution.
Posted on 04-17-2023 04:47 AM
I'm going to wager the passwords are desyncing. AD Binding or not macOS views itself as the top password identity. If a users password is changed on another device its a crapshoot on if macOS will accept it or not.
I also cannot stress enough, stop AD binding. Apple has stopped building macOS with this work flow in mind. I would say use the FV recovery key to get the user back in, however as of macOS 11 this triggers a local password reset which will desync the mobile accounts password from the AD password. Using mobile accounts is what is making you rebuild the user profile (or reimage) every time this happens rather than just resetting the password on the device.
Posted on 04-17-2023 05:48 AM
I am not saying the only thing that causes this is a user changing their password somewhere else. Its just that this is the cause 99% of the time when I see this issue. Console will have logs on account changes, as well as when FV passwords were updated. You can also check their AD record for when they changed their PW last.
The work flow in my experience:
- User changes their PW on another device
- User get their Mac, and tries to use their new PW on FV which wont work
- User realizes they need to use their old PW, then they get to the macOS Login Screen
- If the Mac is offline they may or may not realize they need to use their old PW.
- FV password does not update as the password change trigger did not happen on macOS, and when the user reboots they cant get back in as FV wont accept the old or new PW.
- If the Mac is online, its a 50/50 chance on if it will let them log in and update the password or break the user account.
- FV password does not update as the password change trigger did not happen on macOS, and when the user reboots they cant get back in as FV wont accept the old or new PW.
- The user does not realize they need to use their old FV password, and calls you for support
- You tell them to use their old PW and they get in, and follow the work flow above.
- The dont remember their old PW.
- You give them the recovery key which breaks their account's syncing to AD.
- You cant get them in and they are screwed
What documentation are you wanting? There is really nothing current for domain binding as Apple moved away from that some 10 years ago. We moved away from domain binding last year as apple and JAMFs only troubleshooting advice was to stop domain binding. It became more of an investment to maintain than it was to move away from.
Posted on 04-17-2023 06:18 AM
Ah, got ya.
For us the only tool I saw that checked all our boxes was JAMF Connect. It gave IDP login, MFA, had good documentation and vendor support, so on. It may be worth a review to see if it meets your needs.
Jamf Connect Documentation | Jamf
Posted on 04-17-2023 04:47 AM
I'm going to wager the passwords are desyncing. AD Binding or not macOS views itself as the top password identity. If a users password is changed on another device its a crapshoot on if macOS will accept it or not.
I also cannot stress enough, stop AD binding. Apple has stopped building macOS with this work flow in mind. I would say use the FV recovery key to get the user back in, however as of macOS 11 this triggers a local password reset which will desync the mobile accounts password from the AD password. Using mobile accounts is what is making you rebuild the user profile (or reimage) every time this happens rather than just resetting the password on the device.
Posted on 04-17-2023 05:31 AM
I dont think it is a syncing issue. Because it mostly happened without a network connection, when the password is cached. Afaik none of the users changed their passwords before this happened.
Also: Wouldnt this be an issue with the mobile accounts and not with the AD binding, because thats where the password is?
I really want to move away from AD binding, but unfortunately I am missing time and resources.
Can anybody provide me with the necesary documentation for this?
Posted on 04-17-2023 05:48 AM
I am not saying the only thing that causes this is a user changing their password somewhere else. Its just that this is the cause 99% of the time when I see this issue. Console will have logs on account changes, as well as when FV passwords were updated. You can also check their AD record for when they changed their PW last.
The work flow in my experience:
- User changes their PW on another device
- User get their Mac, and tries to use their new PW on FV which wont work
- User realizes they need to use their old PW, then they get to the macOS Login Screen
- If the Mac is offline they may or may not realize they need to use their old PW.
- FV password does not update as the password change trigger did not happen on macOS, and when the user reboots they cant get back in as FV wont accept the old or new PW.
- If the Mac is online, its a 50/50 chance on if it will let them log in and update the password or break the user account.
- FV password does not update as the password change trigger did not happen on macOS, and when the user reboots they cant get back in as FV wont accept the old or new PW.
- The user does not realize they need to use their old FV password, and calls you for support
- You tell them to use their old PW and they get in, and follow the work flow above.
- The dont remember their old PW.
- You give them the recovery key which breaks their account's syncing to AD.
- You cant get them in and they are screwed
What documentation are you wanting? There is really nothing current for domain binding as Apple moved away from that some 10 years ago. We moved away from domain binding last year as apple and JAMFs only troubleshooting advice was to stop domain binding. It became more of an investment to maintain than it was to move away from.
Posted on 04-17-2023 05:54 AM
I dont know. Documentation on how to start. What are the differences between having the devices bound to AD and not having them bound? What are best practices? What should I avoid? I also have not started yet because I have found so little about this and I do not have much knowledge myself.
Posted on 04-17-2023 06:18 AM
Ah, got ya.
For us the only tool I saw that checked all our boxes was JAMF Connect. It gave IDP login, MFA, had good documentation and vendor support, so on. It may be worth a review to see if it meets your needs.
Jamf Connect Documentation | Jamf