You are not logged in.
I have an insallation on a VM which uses Slim as the GUI for login, authenticating against pam_krb5 or pam_unix. I get some very odd behaviour with Slim where it won't let me login using kerberos claiming that it can't reach the KDC. The strange thing is that the login works on any other tty i.e. the KDC is reachable.
If I login with Slim using the pam_unix credentials and then logout and then login again using the kerberos credentials it works. So the behaviour seems to be that the initial Slim login has a problem with pam_krb5.so. I just can't figure out what the problem is.
Slim version 1.3.6-4
pam_krb5 2.4.4-1
The Slim log gives me
slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure
slim: pam_authentication(): Authentication failure
The auth.log shows
May 3 12:13:50 wolf slim: pam_unix(slim:auth): authentication failure; logname= uid=0 euid=0 tty=:0.0 ruser=root rhost= user=me
May 3 12:15:11 wolf slim: pam_krb5[262]: authentication fails for 'me' (me@MYREALM.COM): Authentication service cannot retrieve authentication info (Cannot contact any KDC for requested realm)
My /etc/pam.d/system-auth file:
[root@wolf ~]# cat /etc/pam.d/system-auth
#%PAM-1.0auth sufficient pam_unix.so try_first_pass nullok
auth sufficient pam_krb5.so use_first_pass
auth requisite pam_deny.so
auth optional pam_permit.so
auth required pam_env.soaccount sufficient pam_unix.so
account sufficient pam_krb5.so
account requisite pam_deny.so
account optional pam_permit.so
account required pam_time.sopassword sufficient pam_unix.so try_first_pass nullok sha512 shadow
password sufficient pam_krb5.so use_authtok
password requisite pam_deny.so
password optional pam_permit.sosession required pam_limits.so
session required pam_unix.so
session optional pam_permit.so
As I mentioned, kerberos works fine and I get no issues whatsoever with a standard cli login. Any help much appreciated.
Last edited by MatteusBlanc (2014-05-03 18:23:09)
Offline
I had another machine, almost identical set up where the issue wasn't present. In fact the machine with the issue had been cloned from the working set up about 3 months ago.
I checked for the difference between the machines, host and client. Both were running openbox 4.3.10 but the working one had the extensions pack installed while the faulty one did not.
It turns out that installing the openbox extensions to the host was the answer - why I have no idea and, of course, this will all be irrelevant shortly when 4.3.11 comes out.
It's also worth mentioning that this also solved another issue I was seeing with a painfully slow Thunderbird. It seems the extensions pack really helps
Last edited by MatteusBlanc (2014-05-03 18:41:33)
Offline