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
383 stars 57 forks source link

Local admin password not changing #29

Closed ffxsup closed 5 years ago

ffxsup commented 5 years ago

Successfully installed macOSLAPS and seeing successfully writing of random password in AD ms-Mcs-AdmPwd attribute. However the admin password is not being updated on the macbook locally.

Log stating "unable to connect to local directory or change password. Exiting.... "

bash-3.2$ sudo /usr/local/laps/macOSLAPS -resetPassword Info|Wed Jan 16, 2019 12:00:33 PM|macOSLAPS|Password Change is required as the LAPS password for admin has expired Info|Wed Jan 16, 2019 12:00:33 PM|macOSLAPS|Password change has been completed for local admin admin. New expiration date is Sun Mar 17, 2019 12:00:33 PM Error|Wed Jan 16, 2019 12:00:33 PM|macOSLAPS|Unable to connect to local directory or change password. Exiting... bash-3.2$

Edwinterb commented 5 years ago

@ffxsup I believe your issue is the same as issue https://github.com/joshua-d-miller/macOSLAPS/issues/22

joshua-d-miller commented 5 years ago

Closing as this is a duplicate issue