Menu

#15 Kerberos authentication issue

open
nobody
None
5
2011-04-07
2011-04-07
Anonymous
No

I have XRDP installed on RHEL 5.5. I have tried xrdp-0.4.2.tar.gz and xrdp-0.5.0-0.13.el5.x86_64.rpm. Kerberos authentication is setup and works for all users logging in via SSH. Locally-authenticated users can connect via RDP just fine, only Kerberos users fail to authenticate.

Here are the lines from /etc/pam.d/xrdp-sesman:
auth required pam_unix.so shadow nullok
account required pam_unix.so
auth include system-auth
account include system-auth

How should this be modified to work with Kerberos? Thanks for you time.

Here the lines from /etc/pam.d/system-auth:

auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth sufficient pam_krb5.so use_first_pass
auth required pam_deny.so

account required pam_unix.so broken_shadow
account sufficient pam_succeed_if.so uid < 500 quiet
account [default=bad success=ok user_unknown=ignore] pam_krb5.so
account required pam_permit.so

password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password sufficient pam_krb5.so use_authtok
password required pam_deny.so

session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
session optional pam_krb5.so

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.