<br><br><div class="gmail_quote">On Jan 21, 2008 5:13 PM, Dave <<a href="mailto:dmehler26@woh.rr.com">dmehler26@woh.rr.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div 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><font color="#888888">
<div><font face="Arial" size="2">Dave.</font></div>
<div> </div>
</font><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div class="Ih2E3d">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="tronnw@gmail.com" href="mailto:tronnw@gmail.com" target="_blank">Tronn Wærdahl</a> 
  </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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><div><div></div><div class="Wj3C7c">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Monday, January 21, 2008 8:51 
  AM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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" target="_blank">dmehler26@woh.rr.com</a>> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <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="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
      <div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- 
      Original Message ----- </div>
      <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
      <a title="tronnw@gmail.com" href="mailto:tronnw@gmail.com" target="_blank">Tronn Wærdahl</a> </div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> 
      Sunday, January 20, 2008 12:43 PM</div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; 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>
      <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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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>
      <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" 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><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>
  </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>Sorry for late reply, i attached a file with ldap files, i removed some access settings <br>The files is /etc/pam.d/system-auth, /etc/ldap.conf, /etc/openldap/slapd.conf, /etc/openldap/ldap.conf.
<br><br>In addition to those files you allso need the /etc/ldap.secret<br><br><br>Tronn<br>