[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Can't login with ldap user



On 05/04/2012 03:30 PM, zingalo wrote:
On 05/04/2012 02:49 PM, Brandon Hume wrote:
On 05/ 4/12 06:58 AM, zingalo wrote:
trying to login from my laptop ubuntu 11.10 using ldap user zingalo,
appears a black screen and it comes back to login screen.
Could you take a look of this paste of syslog please and tell me what
do i have to fix?

First, you should add objectclass as an index to get rid of a lot of
those warnings.

Secondly, nothing in that log will explain why Ubuntu kicks you out.
You'll need to look at the system logs. It could be something as simple
as the home directory not existing. It's almost certainly an Ubuntu
problem of some sort.


Hi,

i added objectClass as an index and i checked on /var/log/auth.log:

May 4 15:13:34 dello lightdm: pam_succeed_if(lightdm:auth): requirement
"user ingroup nopasswdlogin" not met by user "zingalo"
May 4 15:13:36 dello lightdm: pam_unix(lightdm:auth): authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost= user=zingalo
May 4 15:13:36 dello lightdm: pam_unix(lightdm-autologin:session):
session closed for user lightdm
May 4 15:13:36 dello lightdm: pam_unix(lightdm:session): session opened
for user zingalo by (uid=0)
May 4 15:13:36 dello lightdm: pam_ck_connector(lightdm:session): nox11
mode, ignoring PAM_TTY :0
May 4 15:13:37 dello lightdm: pam_unix(lightdm-autologin:session):
session opened for user lightdm by (uid=0)
May 4 15:13:37 dello lightdm:
pam_ck_connector(lightdm-autologin:session): nox11 mode, ignoring
PAM_TTY :0
May 4 15:13:37 dello dbus[889]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.82" (uid=104 pid=2425
comm="/usr/lib/indicator-datetime/indicator-datetime-ser")
interface="org.freedesktop.DBus.Properties" $
May 4 15:13:40 dello lightdm: pam_nologin(lightdm:auth): cannot
determine username
May 4 15:13:40 dello lightdm: pam_succeed_if(lightdm:auth): requirement
"user ingroup nopasswdlogin" not met by user "zingalo"
May 4 15:13:40 dello lightdm: pam_unix(lightdm:auth): conversation failed

It seems a problem of the login with lightdm because once logged as my
user locally my laptop i can logon from a shell using the user
"zingalo". but it doesn't mount his home:
"No directory, logging in with HOME=/"

I have also to fix this problem to mount automatically the home
directories of the users. On homeDirectory attribute for "zingalo" i
wrote //192.168.5.219/users/zingalo but doesn't work.

If you have experience with a similar configuration please give me some
suggestions.

Thanks

Hi,
i found that gdm is better than lightdm login screen.
I think the problem is only to mount users home directory because appears an error message:
"Could not stat //192.168.5.219/users/zingalo". This is the auth.log

May 4 15:49:36 dello gdm-session-worker[2142]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "zingalo" May 4 15:49:38 dello gdm-session-worker[2142]: pam_unix(gdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=zingalo May 4 15:49:38 dello gdm-session-worker[2142]: pam_unix(gdm:session): session opened for user zingalo by (uid=0) May 4 15:49:38 dello gdm-session-worker[2142]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0 May 4 15:49:50 dello gdm-session-worker[2142]: pam_unix(gdm:session): session closed for user zingalo May 4 15:49:56 dello gdm-session-worker[2310]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "zingalo" May 4 15:50:07 dello gdm-session-worker[2310]: pam_unix(gdm:auth): conversation failed May 4 15:50:07 dello gdm-session-worker[2310]: pam_unix(gdm:auth): auth could not identify password for [zingalo] May 4 15:50:07 dello gdm-session-worker[2310]: pam_ldap(gdm:auth): failed to get password: Authentication failure May 4 15:50:08 dello gdm-session-worker[2314]: pam_succeed_if(gdm:auth): requirement "user ingroup nopasswdlogin" not met by user "stefano" May 4 15:50:11 dello gdm-session-worker[2314]: pam_unix(gdm:session): session opened for user stefano by (uid=0) May 4 15:50:11 dello gdm-session-worker[2314]: pam_ck_connector(gdm:session): nox11 mode, ignoring PAM_TTY :0