Re: Can only login as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





________________________________
 From: Timothy Murphy <gayleard@xxxxxxxxxx>
To: centos@xxxxxxxxxx 
Sent: Thursday, May 3, 2012 5:47 AM
Subject:  Can only login as root
 
> I have a strange problem on a CentOS-5.8 machine.
> I can only login as root.
> If I try to login with one of the user's names,
> it hangs for a long time.
> I thought it hung forever, but I just found that
> I do login after "su tim" after 5 minutes.
>
> It seems that the problem lies in repeated messages in /var/log/messages
> ---------------------------
> May  3 12:14:13 helen su: nss_ldap: failed to bind to LDAP server 
> ldap://www.gayleard.com/: Can't contact LDAP server
> May  3 12:14:13 helen su: nss_ldap: reconnecting to LDAP server 
>  (sleeping 64 seconds)...
> ---------------------------

=====================

How does your /etc/nsswitch.conf look?  Particularly the 'passwd:' line?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux