[CentOS] centos authentication via ldap produces no name shellprompt

Dave dmehler26 at woh.rr.com
Mon Jan 21 13:23:31 UTC 2008


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 ----- 
  From: Tronn Wærdahl 
  To: CentOS mailing list 
  Sent: Sunday, January 20, 2008 12:43 PM
  Subject: Re: [CentOS] centos authentication via ldap produces no name shellprompt





  On Jan 20, 2008 11:45 AM, Dave <dmehler26 at woh.rr.com> 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 at centos.org
    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 at centos.org
  http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080121/8334c20b/attachment.html>


More information about the CentOS mailing list