[CentOS] centos authentication via ldap produces no name shell prompt

Sun Jan 20 17:43:59 UTC 2008
Tronn Wærdahl <tronnw at gmail.com>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080120/39bcf25b/attachment-0005.html>