-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAPS not working for macOS Big Sur? #17
Comments
As additional information I mentioned in my first comment above that appeared despite the error messages it had actually succeeded. However something strange seems to have happened. In the Jamf web interface when you view the extension attribute it appears to show a new changed/random password. However when you use the Jamf API to query the value the value returned is still the original unchanged value. This results in other scripts I use to fail because they read the wrong value. The following is a simple script to read the LAPS extension attribute.
Note: The behaviour of xpath has changed in Big Sur, you now need to include the -e option as above and the number of lines to skip from the result has changed from 3 to 1. |
@jelockwood We're experiencing the same issue as well. Have you had any luck since? |
@SimB4t1qbit |
We were able to get LAPS working with Big Sur after making the following changes:
|
@SimB4t1qbit This would remove the need to scope different versions and greatly simplify matters. I think it worth checking further, I think Catalina also supports the -e flag. |
Excellent point, we will check this out @jelockwood. |
Hi all, I am still quite new to macOS, scripts & Jamf, but willing to learn I am in the process of installing LAPS. Script result: localadmin is a local user on the Computer Password: <dscl_cmd> DS Error: -14090 (eDSAuthFailed) The change also works without problems, but the same error is written to the log. many thanks for the help |
I am now testing all my setup - especially Jamf related issues with macOS Big Sur and this includes the LAPS scripts provided here.
The existing setup works fine under macOS Catalina.
However it looks like there is a problem in macOS Big Sur. I am including the messages shown in Terminal but will continue to test and investigate further myself.
In addition to the error messages, the script asks for a password during execution which did not use to occur. Interestingly despite all this, it does appear to have succeeded in that the initial default password has been successfully changed and recorded in Jamf. (Tested by unlocking System Preferences with the new random password.)
The text was updated successfully, but these errors were encountered: