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@netoyen.net To: "CentOS mailing list" centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos