I'm trying to set-up a machine at my office to run Kubuntu Feisty and work well with our Windows environment, as part of a feasibility exercise. I'd like to hook it up with our Windows 2003 servers so users can login to it without me needing to set-up a load of new accounts, so I've been installing & configuring Kerberos, Winbind, Samba, etc.
I've followed this tutorial and every step works fine (I can get tickets, authenticate, etc.) However, when I try to login either in KDM or over ssh it fails.
Trying via KDM seems to login (I don't get any password errors), but it then restarts X and dumps me straight back at the login prompt. The following entries show up from "last" and /var/log/auth.log (nothing useful that I can see in syslog):
Trying via ssh yields its own problems. I'm doing it with Putty from a Windows workstation, and it seems to login (I don't get a bad password error) but the connection is immediately closed. There is no entry in "last", but this shows up in auth.log:Code:last tom.chan :0 Fri Jun 1 15:06 - 15:06 (00:00) /var/log/auth.log Jun 1 15:06:13 hotdesk3 pam_winbind[5904]: user 'tom.chance' granted access Jun 1 15:06:13 hotdesk3 pam_winbind[5904]: user 'tom.chance' OK Jun 1 15:06:13 hotdesk3 pam_winbind[5904]: user 'tom.chance' granted access Jun 1 15:06:13 hotdesk3 kdm: :0[5904]: (pam_unix) session opened for user tom.chance by (uid=0) Jun 1 15:06:13 hotdesk3 kdm: :0[5904]: (pam_unix) session closed for user tom.chance
Has anyone got any suggestions?Code:Jun 1 15:17:58 hotdesk3 sshd[6474]: Accepted password for tom.chance from 192.168.0.64 port 2399 ssh2 Jun 1 15:17:58 hotdesk3 sshd[6476]: (pam_unix) session opened for user tom.chance by (uid=0) Jun 1 15:17:58 hotdesk3 sshd[6474]: fatal: login_get_lastlog: Cannot find account for uid 507 Jun 1 15:17:58 hotdesk3 sshd[6474]: syslogin_perform_logout: logout() returned an error Jun 1 15:17:58 hotdesk3 sshd[6476]: (pam_unix) session closed for user tom.chance
Reply With Quote



