Re: centos authentication via ldap produces no name shellprompt

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



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@xxxxxxxxxxx>
To: "CentOS mailing list" <centos@xxxxxxxxxx>
Sent: Sunday, January 20, 2008 6:40 AM
Subject: Re: 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@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