Discussion:
[Ltsp-discuss] LDAP/AD user can log into shell at client but not at the splash screen. Local user, neither.
David Groos
2016-09-01 04:19:33 UTC
Permalink
Hi again,

After patching (https://bugs.launchpad.net/ltsp/+bug/1610304) as described
in my just-posted forum e-mail, I got some interesting results with the
logins.

1. I applied patch and rebooted the server (though didn't try to update
ltsp image)
2. Booted a fat client, then tried to login w/admin user account, didn't
work.
3. Returned to server, Right-clicked on client "2A" icon in Epoptes
window:
a) execute --> open terminal --> Root, locally.
4. In client "local, root terminal": cat /var/log/auth.log (sorry, can't
copy/paste): Loading Image...
5. Repeated with an LDAP/AD user and got exactly same results (nothing
extra printed to log)
6. At client pressed "Ctrl + Alt + F2" and dropped me into a login shell
7. Tried to login w/the admin account but said, "login incorrect " and
in the log added these 3 lines (also same results for attempt with normal
local user): Loading Image...
8. at client tried to login with LDAP user and it works! log added these
3 lines: Loading Image...

*Summary*: Neither local nor LDAP user can log in at client. When dropping
into shell, however, LDAP user can log in but local can not.

Any ideas?

Thanks,
David
Alkis Georgopoulos
2016-09-01 04:31:19 UTC
Permalink
X01-localapps is a client-side script, so if you didn't run
ltsp-update-image, you didn't change anything at all.
Post by David Groos
Hi again,
After patching (https://bugs.launchpad.net/ltsp/+bug/1610304
<https://bugs.launchpad.net/ltsp/+bug/1610304>) as described in my
just-posted forum e-mail, I got some interesting results with the logins.
1. I applied patch and rebooted the server (though didn't try to update
ltsp image)
2. Booted a fat client, then tried to login w/admin user account,
didn't work.
a) execute --> open terminal --> Root, locally.
4. In client "local, root terminal": cat /var/log/auth.log (sorry,
can't copy/paste): https://ibin.co/2tX7YbEdWtpR.png
5. Repeated with an LDAP/AD user and got exactly same results (nothing
extra printed to log)
6. At client pressed "Ctrl + Alt + F2" and dropped me into a login shell
7. Tried to login w/the admin account but said, "login incorrect " and
in the log added these 3 lines (also same results for attempt with
normal local user): https://ibin.co/2tX8IBQtevmL.png
8. at client tried to login with LDAP user and it works! log added
these 3 lines: https://ibin.co/2tX8n5pLa5RR.png
*Summary*: Neither local nor LDAP user can log in at client. When
dropping into shell, however, LDAP user can log in but local can not.
Any ideas?
Thanks,
David
David Groos
2016-09-01 05:18:03 UTC
Permalink
Makes sense, thanks again.

Sounding like time to do a fresh install. I poked around in the logs as to
why this happens:

sudo ltsp-update-image --cleanup /
[sudo] password for xyz:
^Crmdir: failed to remove '/tmp/tmp.f6EaWaAzef': No such file or directory

and nothing sticks out.

David
Post by Alkis Georgopoulos
X01-localapps is a client-side script, so if you didn't run
ltsp-update-image, you didn't change anything at all.
Post by David Groos
Hi again,
After patching (https://bugs.launchpad.net/ltsp/+bug/1610304
<https://bugs.launchpad.net/ltsp/+bug/1610304>) as described in my
just-posted forum e-mail, I got some interesting results with the logins.
1. I applied patch and rebooted the server (though didn't try to update
ltsp image)
2. Booted a fat client, then tried to login w/admin user account,
didn't work.
3. Returned to server, Right-clicked on client "2A" icon in Epoptes
a) execute --> open terminal --> Root, locally.
4. In client "local, root terminal": cat /var/log/auth.log (sorry,
can't copy/paste): https://ibin.co/2tX7YbEdWtpR.png
5. Repeated with an LDAP/AD user and got exactly same results (nothing
extra printed to log)
6. At client pressed "Ctrl + Alt + F2" and dropped me into a login shell
7. Tried to login w/the admin account but said, "login incorrect " and
in the log added these 3 lines (also same results for attempt with
normal local user): https://ibin.co/2tX8IBQtevmL.png
8. at client tried to login with LDAP user and it works! log added
these 3 lines: https://ibin.co/2tX8n5pLa5RR.png
*Summary*: Neither local nor LDAP user can log in at client. When
dropping into shell, however, LDAP user can log in but local can not.
Any ideas?
Thanks,
David
------------------------------------------------------------
------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Loading...