[CentOS] centos authentication via ldap produces no name shellprompt

Mon Jan 21 02:59:13 UTC 2008
Dave <dmehler26 at woh.rr.com>

Hello,
    Thanks for your reply. Do you have this working?
    I have set the prompt in my local .bashrc file the PS1 option to 
'\u@\h:\w\$' and confirmed with id and finger that the correct shell is 
being returned.
Thanks.
Dave.

----- Original Message ----- 
From: "mouss" <mouss at netoyen.net>
To: "CentOS mailing list" <centos at centos.org>
Sent: Sunday, January 20, 2008 6:40 AM
Subject: Re: [CentOS] centos authentication via ldap produces no name 
shellprompt


> Dave 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:~/$
>>
> set the prompt with something like
> PS1="(\u)@\h: \W\$ "
>
>>    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?
>
> make sure the right shell is returned.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos