Troubleshooting¶
Start with monarchy-identity status, monarchy-identity policy show and journalctl -t monarchy-identity.
A directory user is refused¶
- Are they allowed? Check
monarchy-identity policy showagainst their groups in the directory. A correct password for someone who isn't allowed fails just like a wrong one;journalctl -t sshd -t sddmshowsAccess deniedfor a policy refusal and anauthfailure for a wrong password. - Too many failed attempts? The account is locked for a short time:
faillock --user NAME, andsudo faillock --user NAME --resetto clear it. - First time on this laptop, and offline? The first sign-in needs the company network.
- Just enrolled or just rebooted? The laptop needs a few seconds to reach the directory.
- Clock wrong? Sign-in fails when the clock is more than about five minutes off. Check
timedatectl. - Testing with
su? On Arch,sunever asks the directory. Test on a text console (Ctrl+Alt+F3), the lock screen or the login screen. - Which password? People sign in with their own directory password.
enrollasks for the join account's directory password, andsudofor your own.
Opening someone's home folder asks for a password¶
Home folders are private to their owner, so opening another person's needs administrator rights.
Directory sign-in stopped working for everyone¶
sudo monarchy-identity reassert
It puts the sign-in configuration back and starts the directory service if it has stopped. If that reports that the
laptop needs re-enrolling, run leave and enroll again.
enroll refuses¶
say who may sign in: add --groups or --users. has no group named: check the name in the directory.
accessible by group/other: chmod 600 the password file. The rest: Active Directory.
A refusal changes nothing; if enroll stops partway, fix the cause and run the same command again.
Getting back in¶
Local accounts always work. Sign in as your local account on a text console (Ctrl+Alt+F3) or over ssh, then
sudo monarchy-identity leave if you want to remove directory sign-in.