<?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: Linux PAM and Active Directory Integration issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138364#M8422</link>
    <description>Vijay,&lt;BR /&gt;&lt;BR /&gt;I would like to help you now but I have got to leave for appointment, I have open my openldap doc and will try to futher help is I am able when I return.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Dec 2003 06:15:29 GMT</pubDate>
    <dc:creator>Huc_1</dc:creator>
    <dc:date>2003-12-08T06:15:29Z</dc:date>
    <item>
      <title>Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138357#M8415</link>
      <description>I am planning to authenticate my linux systems through Active directory. I have planned to use PAM_LDAP and NSS_LDAP. I thing i made good progress. I edited my /etc/pam.d/system-auth and /etc/ldap.conf&lt;BR /&gt;&lt;BR /&gt;I am using a Redhat Linux System 7.2.&lt;BR /&gt;&lt;BR /&gt;Here is my /etc/pam.d/system-auth&lt;BR /&gt;#%PAM-1.0&lt;BR /&gt;# This file is auto-generated.&lt;BR /&gt;# User changes will be destroyed the next time authconfig is run.&lt;BR /&gt;auth        required      /lib/security/pam_env.so&lt;BR /&gt;auth        sufficient    /lib/security/pam_unix.so likeauth nullok&lt;BR /&gt;auth        sufficient    /lib/security/pam_ldap.so use_first_pass&lt;BR /&gt;auth        required      /lib/security/pam_deny.so&lt;BR /&gt;&lt;BR /&gt;account     required      /lib/security/pam_unix.so&lt;BR /&gt;account     required      /lib/security/pam_ldap.so&lt;BR /&gt;&lt;BR /&gt;password    required      /lib/security/pam_cracklib.so retry=3 type=&lt;BR /&gt;password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5 shadow&lt;BR /&gt;password    sufficient    /lib/security/pam_ldap.so nullok use_authtok &lt;BR /&gt;password    required      /lib/security/pam_deny.so&lt;BR /&gt;&lt;BR /&gt;session     required      /lib/security/pam_limits.so&lt;BR /&gt;session     required      /lib/security/pam_unix.so&lt;BR /&gt;session     optional      /lib/security/pam_ldap.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I got this error when i trying to login using an LDAP user account:&lt;BR /&gt;&lt;BR /&gt;Dec  8 14:48:19 ht68f5 login(pam_unix)[5241]: check pass; user unknown&lt;BR /&gt;Dec  8 14:48:19 ht68f5 login(pam_unix)[5241]: authentication failure; logname=LOGIN uid=0 euid=0 tty=tty2 ruser= rhost= &lt;BR /&gt;Dec  8 14:48:19 ht68f5 login[5241]: pam_ldap: ldap_search_s Referral&lt;BR /&gt;Dec  8 14:48:21 ht68f5 login[5241]: FAILED LOGIN 1 FROM (null) FOR vij3347, Authentication failure&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Mon, 08 Dec 2003 05:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138357#M8415</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-08T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138358#M8416</link>
      <description>Hi, Vijay&lt;BR /&gt;&lt;BR /&gt;Sorry, but, You did do a slapadd for vij3347 ?&lt;BR /&gt;and this user is known .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Mon, 08 Dec 2003 05:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138358#M8416</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-08T05:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138359#M8417</link>
      <description>I for got to mention, i have NSS_LDAP installed. &lt;BR /&gt;&lt;BR /&gt;My /etc/nsswitch.conf says&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;My /etc/ldap.conf is having LDAP configuration.&lt;BR /&gt;&lt;BR /&gt;Do u mean to say that my ID is not getting authenticated?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Mon, 08 Dec 2003 05:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138359#M8417</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-08T05:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138360#M8418</link>
      <description>my exact question is &lt;BR /&gt;&lt;BR /&gt;Why my pam_ldap returns this error?&lt;BR /&gt;&lt;BR /&gt;Dec  8 16:10:54 ht68f5 login[982]: pam_ldap: ldap_search_s Referral&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Mon, 08 Dec 2003 05:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138360#M8418</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-08T05:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138361#M8419</link>
      <description>Dec 8 14:48:21 ht68f5 login[5241]: FAILED LOGIN 1 FROM (null) FOR vij3347&lt;BR /&gt;&lt;BR /&gt;No what I mean is there an entry for vij3347,&lt;BR /&gt;is this seen ?&lt;BR /&gt;&lt;BR /&gt;and perhaps there are more messages in var/log&lt;BR /&gt;&lt;BR /&gt;like var/log/security ?&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 05:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138361#M8419</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-08T05:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138362#M8420</link>
      <description>Thanks Huc for reminding me...&lt;BR /&gt;&lt;BR /&gt;i tried with /var/log/messages. there is one more file /var/log/secure.&lt;BR /&gt;&lt;BR /&gt;it says...&lt;BR /&gt;&lt;BR /&gt;Dec  8 16:13:48 ht68f5 login: pam_ldap: ldap_search_s Referral&lt;BR /&gt;Dec  8 16:13:48 ht68f5 login: User not known to the underlying authentication module&lt;BR /&gt;Dec  8 16:17:25 ht68f5 login: nss_ldap: could not search LDAP server - Referral&lt;BR /&gt;&lt;BR /&gt;I think i have check my ldap configurations... here is my ldap configuration, /etc/ldap.conf&lt;BR /&gt;&lt;BR /&gt;# Your LDAP server. Must be resolvable without using LDAP.&lt;BR /&gt;host 10.168.145.10&lt;BR /&gt;ldap_version 3&lt;BR /&gt;base dc=doma.hex.local,dc=hex.local&lt;BR /&gt;binddn vij3347@domainjp02.hex.local&lt;BR /&gt;scope sub&lt;BR /&gt;ssl no&lt;BR /&gt;pam_filter objectclass=user&lt;BR /&gt;pam_login_attribute sAMAccountName&lt;BR /&gt;pam_password ad&lt;BR /&gt;&lt;BR /&gt;nss_base_passwd         ou=users,ou=hex.local,dc=hex.local,dc=local?one&lt;BR /&gt;nss_base_shadow         ou=users,ou=hex.local,dc=hex.local,dc=local?one&lt;BR /&gt;nss_base_group          ou=group,ou=hex.local,dc=hex.local,dc=local?one&lt;BR /&gt;&lt;BR /&gt;#nss_map_objectclass posixAccount User&lt;BR /&gt;#nss_map_attribute uid sAMAccountName&lt;BR /&gt;#nss_map_attribute uniqueMember Member&lt;BR /&gt;#nss_map_attribute userPassword msSFUPassword&lt;BR /&gt;#nss_map_attribute homeDirectory msSFUHomeDirectory&lt;BR /&gt;#nss_map_objectclass posixGroup Group&lt;BR /&gt;#nss_map_attribute cn sAMAccountName&lt;BR /&gt;&lt;BR /&gt;I am able to ping the LDAP server.&lt;BR /&gt;Even I am able to telnet &lt;LDAP_IP&gt; 389 .&lt;BR /&gt;&lt;BR /&gt;any clues,&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay&lt;/LDAP_IP&gt;</description>
      <pubDate>Mon, 08 Dec 2003 05:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138362#M8420</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-08T05:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138363#M8421</link>
      <description>btw, i am having that account in my active directory.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Mon, 08 Dec 2003 06:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138363#M8421</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-08T06:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138364#M8422</link>
      <description>Vijay,&lt;BR /&gt;&lt;BR /&gt;I would like to help you now but I have got to leave for appointment, I have open my openldap doc and will try to futher help is I am able when I return.&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 06:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138364#M8422</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-08T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138365#M8423</link>
      <description>Vijay,&lt;BR /&gt;&lt;BR /&gt;Have you made any progres on this, or is this still a problem ?&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2003 08:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138365#M8423</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-09T08:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138366#M8424</link>
      <description>Not yet...&lt;BR /&gt;&lt;BR /&gt;Can u help me? I installed OpenLDAP locally and trying to authenticate...&lt;BR /&gt;&lt;BR /&gt;So i think i will make some points. I would really appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Tue, 09 Dec 2003 23:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138366#M8424</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-09T23:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138367#M8425</link>
      <description>In the my previous reply the doc I talked about is the following.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openldap.org/doc/admin20/guide.html#A%20Quick-Start%20Guide" target="_blank"&gt;http://www.openldap.org/doc/admin20/guide.html#A%20Quick-Start%20Guide&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am no expert in ldap ( but there is more in 2 heads then one ), just always hope to get around using it one day.&lt;BR /&gt;&lt;BR /&gt;Seem that the problem is identification by pam modules of the "string" it is passed...&lt;BR /&gt;it get to that point so I suppose the network part is good ... &lt;BR /&gt;&lt;BR /&gt;one of the thing that I do when I have this kind of problems is &lt;BR /&gt;&lt;BR /&gt;modify /etc/syslog.conf with the following line to get all messages to screen&lt;BR /&gt;&lt;BR /&gt;*.*                       /dev/console&lt;BR /&gt;&lt;BR /&gt;You have to "# service syslogd restart " to get this active (make sure this does not disrupt your enviroment)&lt;BR /&gt;&lt;BR /&gt;I then invoke the command &lt;BR /&gt;&lt;BR /&gt;#xconsole &amp;amp;&lt;BR /&gt;&lt;BR /&gt;from gui xterm login (su -) as root&lt;BR /&gt;&lt;BR /&gt;This open a window where all messages that go to /var/log/* are redirected.&lt;BR /&gt;&lt;BR /&gt;this allowes me to test and see messages/error in as they happen !&lt;BR /&gt;&lt;BR /&gt;I will read your reply this late afternoon, when I return..&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Wed, 10 Dec 2003 03:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138367#M8425</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-12-10T03:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Linux PAM and Active Directory Integration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138368#M8426</link>
      <description>Good point.&lt;BR /&gt;&lt;BR /&gt;I tried with auth.* /dev/console before. I hope thats not enough.&lt;BR /&gt;&lt;BR /&gt;Let me try with *.* /dev/console and post the output.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;Vijay</description>
      <pubDate>Wed, 10 Dec 2003 06:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-pam-and-active-directory-integration-issue/m-p/3138368#M8426</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2003-12-10T06:06:01Z</dc:date>
    </item>
  </channel>
</rss>

