<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545334#M17626</link>
    <description>What "system-config-authentication" probably does is edit the PAM settings for your machine. I've never set this up on a RHEL machine. But look at your /etc/pam.d/login file. PAM needs to be aware of the ldapserver when trying to authenticate a user who is logging into the server.&lt;BR /&gt;&lt;BR /&gt;You should have something like,&lt;BR /&gt;&lt;TYPE&gt;      sufficient   /lib/security/pam_ldap.so&lt;BR /&gt;&lt;BR /&gt;in it. You can also try to add a "debug" after the module name. It should produce debug info in the syslog.&lt;BR /&gt;&lt;BR /&gt;For more info see &lt;A href="http://ldots.org/ldap/" target="_blank"&gt;http://ldots.org/ldap/&lt;/A&gt;&lt;/TYPE&gt;</description>
    <pubDate>Mon, 16 May 2005 10:21:11 GMT</pubDate>
    <dc:creator>Johan Bergström</dc:creator>
    <dc:date>2005-05-16T10:21:11Z</dc:date>
    <item>
      <title>Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545332#M17624</link>
      <description>I am now configuring OpenLDAP on two servers running Redhat Linux Enterprise 3, in order to centralize user management, that is, i don't have to maintain users separately when they change password on one server, like windows PDC-BDC.&lt;BR /&gt;&lt;BR /&gt;I followed "Red Hat Enterprise Linux Reference" guide, details below:&lt;BR /&gt;---------------------&lt;BR /&gt;Install the Necessary LDAP Package&lt;BR /&gt;First, make sure that the appropriate packages are installed on both the LDAP server and the&lt;BR /&gt;LDAP client machines. The LDAP server needs the openldap-servers package.&lt;BR /&gt;The openldap, openldap-clients, and nss_ldap packages need to be installed on all LDAP&lt;BR /&gt;client machines.&lt;BR /&gt;&lt;BR /&gt;Edit the Configuration Files&lt;BR /&gt;a. On the server, edit the /etc/openldap/slapd.conf  le on the LDAP&lt;BR /&gt;server to make sure it matches the speci cs of the organization. Refer to&lt;BR /&gt;Section 13.6.1 Editing /etc/openldap/slapd.conf for instructions about editing&lt;BR /&gt;slapd.conf.&lt;BR /&gt;b. On the client machines, both /etc/ldap.conf and /etc/openldap/ldap.conf need to&lt;BR /&gt;contain the proper server and search base information for the organization.&lt;BR /&gt;To do this, run the graphical Authentication Con guration Tool&lt;BR /&gt;(system-config-authentication) and select Enable LDAP Support under the User&lt;BR /&gt;Information tab.&lt;BR /&gt;It is also possible to edit these  les by hand.&lt;BR /&gt;c. On the client machines, the /etc/nsswitch.conf must be edited to use LDAP.&lt;BR /&gt;To do this, run the Authentication Configuration Tool&lt;BR /&gt;(system-config-authentication) and select Enable LDAP Support under the User&lt;BR /&gt;Information tab.&lt;BR /&gt;If editing /etc/nsswitch.conf by hand, add ldap to the appropriate lines.&lt;BR /&gt;For example:&lt;BR /&gt;passwd: files ldap&lt;BR /&gt;shadow: files ldap&lt;BR /&gt;group: files ldap&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;But after that, I created a new user "test" on ServerA(LDAP server), and try to login ServerB(LDAP client) as "test" ("test" don't have info. on ServerB), but failed to login, seemed it didn't search the authentication from LDAP server (ServerA)...&lt;BR /&gt;&lt;BR /&gt;Do I miss any step(s) ?&lt;BR /&gt;How can I troubleshoot this ?&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 16 May 2005 09:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545332#M17624</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-05-16T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545333#M17625</link>
      <description>&lt;BR /&gt;If i am not mistaken, i think you should have People object group in your LDAP server, which defines all the objects required for login process.&lt;BR /&gt;&lt;BR /&gt;I am not very sure whether you have it enabled. if not add it, define basic settings for user (password, shell, expiry etc). and see whether it works.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Mon, 16 May 2005 10:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545333#M17625</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-16T10:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545334#M17626</link>
      <description>What "system-config-authentication" probably does is edit the PAM settings for your machine. I've never set this up on a RHEL machine. But look at your /etc/pam.d/login file. PAM needs to be aware of the ldapserver when trying to authenticate a user who is logging into the server.&lt;BR /&gt;&lt;BR /&gt;You should have something like,&lt;BR /&gt;&lt;TYPE&gt;      sufficient   /lib/security/pam_ldap.so&lt;BR /&gt;&lt;BR /&gt;in it. You can also try to add a "debug" after the module name. It should produce debug info in the syslog.&lt;BR /&gt;&lt;BR /&gt;For more info see &lt;A href="http://ldots.org/ldap/" target="_blank"&gt;http://ldots.org/ldap/&lt;/A&gt;&lt;/TYPE&gt;</description>
      <pubDate>Mon, 16 May 2005 10:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545334#M17626</guid>
      <dc:creator>Johan Bergström</dc:creator>
      <dc:date>2005-05-16T10:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545335#M17627</link>
      <description>hi Gopi,&lt;BR /&gt;&lt;BR /&gt;Thanks, but I don't think the user information ( including passwords ) are stored in the LDAP database, so I wonder whether I need to add Objects into the db...</description>
      <pubDate>Mon, 16 May 2005 10:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545335#M17627</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-05-16T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545336#M17628</link>
      <description>Hi Johan,&lt;BR /&gt;&lt;BR /&gt;Yes, I couldn't find "/lib/security/pam_ldap.so" in the file "/etc/pam.d/login", why the offical redhat reference guide(&lt;A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-ldap.html)" target="_blank"&gt;http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-ldap.html)&lt;/A&gt; doesn't mentioned this at all?&lt;BR /&gt;I am not familiar with PAM stuff, I worry about changing thing here, which may not be recoverable by myself.&lt;BR /&gt;Do you know any complete doc with which someone has successfully setup such environment ?&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 16 May 2005 10:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545336#M17628</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-05-16T10:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configure user authentication using OpenLDAP on Redhat Linux Enterprise 3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545337#M17629</link>
      <description>&lt;BR /&gt;have you added user in to ldap database? it works like this, you have to add user information like user name, shell, password etc in to LDAP objects (People).&lt;BR /&gt;&lt;BR /&gt;then from the other system you can login as the newly added user in ldap. &lt;BR /&gt;&lt;BR /&gt;to give one line answer: yes, you need to have user information including user id and password into ldap objects so that ldap based authentication will succeed&lt;BR /&gt;&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 17 May 2005 01:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/configure-user-authentication-using-openldap-on-redhat-linux/m-p/3545337#M17629</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-17T01:06:57Z</dc:date>
    </item>
  </channel>
</rss>

