awjohnso / JAMF-NoMADLogin-AD

Scripts to help manage NoMADLogin-AD from Jamf.
MIT License
0 stars 0 forks source link

A keychain cannot be found #1

Closed chrism9876 closed 2 years ago

chrism9876 commented 2 years ago

When logging in to a mac that hasnt been logged in to before by that user. I get an error. A keychain cannot be found to store USERNAME@DOMAIN.

I am using the following prefrences

Create keychain = true Add nomad to keychain = true Reset keychain if password doesnt match = true

If i remove add nomad to keychain i can login but have no keychain

If i then run Chmod 777 /Users/USERNAME/Library/Keychains

And enable add nomad to keychain

Then logout and backin. A keychain is created.

The premissions on the keychain folder before was USERNAME:staff rwx--x--x or 711

chrism9876 commented 2 years ago

OS is monterey 12.2.1

chrism9876 commented 2 years ago

If i pecreate the user directory it seems to login ok

Sudo mkdir /Users/USERNAME Sudo chown USERNAME /Users/USERNAME

chrism9876 commented 2 years ago

Opened issue in wrong repo ive closed and reopened in the correct repo