joshua-d-miller / macOSLAPS

Swift binary that will change a local administrator password to a random generated password. Similar behavior to LAPS for Windows
MIT License
382 stars 57 forks source link

Error: macOSLAPS|Unable to retrieve password from macOSLAPS Keychain entry #73

Closed Rorzzer closed 1 year ago

Rorzzer commented 2 years ago

macOS 12.3.1 M1 MacBook Pro Config Profile below deployed via JAMF

Screen Shot 2022-05-13 at 11 59 22 am
Rorzzer commented 2 years ago

manually running the command: sudo /usr/local/laps/macOSLAPS -resetPassword gives the following result

Screen Shot 2022-05-13 at 12 19 15 pm
Rorzzer commented 2 years ago

Is this the expected function? Can I ignore the above error until the first password reset?

joshua-d-miller commented 2 years ago

So the first run should reset the password as one does not exist. Please try the latest release candidate and let me know if it resolve the issue.

mrmte commented 1 year ago

im experiencing the same issue and using the latest version

joshua-d-miller commented 1 year ago

Thank you for letting me know. I believe I have found the issue and will be releasing another pre release build soon.

joshua-d-miller commented 1 year ago

This has been corrected. The issue was the Local method was not changing the password if it had never been changed. Please use the 3.0.2 release of macOSLAPS.