Re: centos authentication via ldap produces no name shellprompt

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



Hi,
    Thanks for your reply. I looked at permissions on the nss_* and ldap* and slapd.conf files, they are all 644.
    This issue may be related maybe not. Upon starting slapd i'm seeing this in my log:
 
Jan 20 23:23:41 ldap slapd[3697]: nss_ldap: could not search LDAP server - Server is unavailable
yet as i say i can log in, only the username part of the prompt is unavailable. Again checking PS1 it is set properly.
    Thanks.
Dave.
 
----- Original Message -----
Sent: Sunday, January 20, 2008 12:43 PM
Subject: Re: centos authentication via ldap produces no name shellprompt



On Jan 20, 2008 11:45 AM, Dave <dmehler26@xxxxxxxxxx> wrote:
Hello,
   I'm trying to set up centos 5.1 to authenticate against an openldap
server. I've got the authentication working, in that i can log in as a user
contained within the ldap database but not in the system passwd/group files.
The problem is instead of a prompt that for example looks like this:

(username)@hostname:~/$

i'm getting this:

(I have no name)@hostname:~/$

   Aside from this everything works, i can finger, use id, etc. It's
annoying and i'm thinking it might be a symptom of a misconfiguration. Any
suggestions?
Thanks.
Dave.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


I allso experienced this with CentOS4.4, then I got i because of some missconfiguration with the LDAP. If I remember correctly is was coz of some permission was failling on some ldap configuration  files (/etc/ldap.conf, /etc/openldap/slapd.conf, /etc/nsswitch.conf, /etc/openldap/ldap.conf)


Tronn


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
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