<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2> Thanks. Do you have configs from
your setup?I'd like to compare your working setup with my nonworking one, see if
i can spot the issue.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave.</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tronnw@gmail.com href="mailto:tronnw@gmail.com">Tronn Wærdahl</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=centos@centos.org
href="mailto:centos@centos.org">CentOS mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 21, 2008 8:51
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [CentOS] centos
authentication via ldap produces no nameshellprompt</DIV>
<DIV><BR></DIV><BR><BR>
<DIV class=gmail_quote>On Jan 21, 2008 2:23 PM, Dave <<A
href="mailto:dmehler26@woh.rr.com">dmehler26@woh.rr.com</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> Thanks for your reply. I
looked at permissions on the nss_* and ldap* and slapd.conf files, they are
all 644.</FONT></DIV>
<DIV><FONT face=Arial size=2> This issue may be related
maybe not. Upon starting slapd i'm seeing this in my log:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jan 20 23:23:41 ldap slapd[3697]: nss_ldap:
could not search LDAP server - Server is unavailable<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>yet as i say i can log in, only the username
part of the prompt is unavailable. Again checking PS1 it is set
properly.</FONT></DIV>
<DIV><FONT face=Arial size=2> Thanks.</FONT></DIV><FONT
color=#888888>
<DIV><FONT face=Arial size=2>Dave.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV class=Ih2E3d>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=tronnw@gmail.com href="mailto:tronnw@gmail.com"
target=_blank>Tronn Wærdahl</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=centos@centos.org href="mailto:centos@centos.org"
target=_blank>CentOS mailing list</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Sunday, January 20, 2008 12:43 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [CentOS] centos authentication via ldap produces no name
shellprompt</DIV>
<DIV><BR></DIV><BR><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV class=gmail_quote>On Jan 20, 2008 11:45 AM, Dave <<A
href="mailto:dmehler26@woh.rr.com"
target=_blank>dmehler26@woh.rr.com</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello,<BR>
I'm trying to set up centos 5.1 to authenticate against an
openldap<BR>server. I've got the authentication working, in that i can
log in as a user<BR>contained within the ldap database but not in the
system passwd/group files. <BR>The problem is instead of a prompt that
for example looks like this:<BR><BR>(username)@hostname:~/$<BR><BR>i'm
getting this:<BR><BR>(I have no name)@hostname:~/$<BR><BR>
Aside from this everything works, i can finger, use id, etc. It's
<BR>annoying and i'm thinking it might be a symptom of a
misconfiguration.
Any<BR>suggestions?<BR>Thanks.<BR>Dave.<BR><BR>_______________________________________________<BR>CentOS
mailing list<BR><A href="mailto:CentOS@centos.org"
target=_blank>CentOS@centos.org</A><BR><A
href="http://lists.centos.org/mailman/listinfo/centos"
target=_blank>http://lists.centos.org/mailman/listinfo/centos</A>
<BR></BLOCKQUOTE></DIV><BR><BR clear=all>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) <BR><BR><BR>Tronn
</DIV></DIV>
<P></P>
<HR>
<DIV class=Ih2E3d>
<P></P>_______________________________________________<BR>CentOS mailing
list<BR><A href="mailto:CentOS@centos.org"
target=_blank>CentOS@centos.org</A><BR><A
href="http://lists.centos.org/mailman/listinfo/centos"
target=_blank>http://lists.centos.org/mailman/listinfo/centos</A><BR></DIV></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>CentOS
mailing list<BR><A
href="mailto:CentOS@centos.org">CentOS@centos.org</A><BR><A
href="http://lists.centos.org/mailman/listinfo/centos"
target=_blank>http://lists.centos.org/mailman/listinfo/centos
</A><BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all>Hi<BR><BR>Yes i use it with
samba as pdc. My /etc/ldap.conf look like this<BR><BR>host localhost<BR>base
dc=example,dc=com<BR>bindpw secret<BR>binddn cn=Manager,dc=example,dc=com
<BR>#rootbinddn cn=Manager,dc=example,dc=com<BR>ssl no<BR>pam_filter
objectclass=posixAccount<BR>pam_login_attribute uid<BR>pam_password
md5<BR><BR><BR>I did this some time ago, so i dont remember all of it. But I
noticed that what order the lines are in here was a issue too
<BR><BR><BR>Tronn<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>CentOS mailing
list<BR>CentOS@centos.org<BR>http://lists.centos.org/mailman/listinfo/centos<BR></BLOCKQUOTE></BODY></HTML>