<?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: LDAP User could not access system in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092785#M30504</link>
    <description>Can you please post what you receive when you do:&lt;BR /&gt;&lt;BR /&gt;su - u367&lt;BR /&gt;ssh -l u367 localhost&lt;BR /&gt;&lt;BR /&gt;Right after that:&lt;BR /&gt;tail /var/log/secure&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check the output of:&lt;BR /&gt;&lt;BR /&gt;finger u367&lt;BR /&gt;&lt;BR /&gt;Check the permissions of the users's home directory.&lt;BR /&gt;&lt;BR /&gt;I would like to see the following files:&lt;BR /&gt;&lt;BR /&gt;more /etc/pam.d/su&lt;BR /&gt;more /etc/pam.d/system-auth&lt;BR /&gt;</description>
    <pubDate>Fri, 26 Oct 2007 11:18:34 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-10-26T11:18:34Z</dc:date>
    <item>
      <title>LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092781#M30500</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;We have two RedHat ES4U4 server, server2 is LDAP server, server1 use LDAP Brower Edit to access LDAP server and add/remove users.&lt;BR /&gt;&lt;BR /&gt;But, currently, we met a problem: lots of LDAP users could not access server1. &lt;BR /&gt;&lt;BR /&gt;1. I have tried to reset their password from LDAP sever via "lbe" on server1, but it doen't work.&lt;BR /&gt;&lt;BR /&gt;2. I did the below command as root user, but got this error.  &lt;BR /&gt;# su u367&lt;BR /&gt;su: incorrect password&lt;BR /&gt;correct users I could did # su comand&lt;BR /&gt;&lt;BR /&gt;How to fix this kind of problem? &lt;BR /&gt;Any answers will be very appreciate &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2007 09:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092781#M30500</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-26T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092782#M30501</link>
      <description>Sorry, two RH ES3 update 4 server.&lt;BR /&gt;&lt;BR /&gt;server1 has set use LDAP and LDAP server is server2.</description>
      <pubDate>Fri, 26 Oct 2007 09:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092782#M30501</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-26T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092783#M30502</link>
      <description>what is the output of:&lt;BR /&gt;&lt;BR /&gt;id u367&lt;BR /&gt;getent passwd |grep u367&lt;BR /&gt;&lt;BR /&gt;Are these users in the same organizational unit?&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092783#M30502</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-26T10:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092784#M30503</link>
      <description>Hi Ivan&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your fast reply, below are the output:&lt;BR /&gt;&lt;BR /&gt;#id j367&lt;BR /&gt;uid=10367(j367) gid=100(users) groups=100(users)&lt;BR /&gt;&lt;BR /&gt;# getent passwd |grep j367&lt;BR /&gt;j367t:x:20011:100::/home/j367t:/bin/ksh&lt;BR /&gt;j367:x:10367:100:j367:/home/j367:/bin/ksh&lt;BR /&gt;&lt;BR /&gt;There users are in the same unit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2007 10:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092784#M30503</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-26T10:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092785#M30504</link>
      <description>Can you please post what you receive when you do:&lt;BR /&gt;&lt;BR /&gt;su - u367&lt;BR /&gt;ssh -l u367 localhost&lt;BR /&gt;&lt;BR /&gt;Right after that:&lt;BR /&gt;tail /var/log/secure&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check the output of:&lt;BR /&gt;&lt;BR /&gt;finger u367&lt;BR /&gt;&lt;BR /&gt;Check the permissions of the users's home directory.&lt;BR /&gt;&lt;BR /&gt;I would like to see the following files:&lt;BR /&gt;&lt;BR /&gt;more /etc/pam.d/su&lt;BR /&gt;more /etc/pam.d/system-auth&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2007 11:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092785#M30504</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-26T11:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092786#M30505</link>
      <description>Thanks Ivan&lt;BR /&gt;&lt;BR /&gt;I could not show the output right now, because probably, my boss solved this problem. he just ran command "faillog -p / -r", all failure LDAP user worked.&lt;BR /&gt;&lt;BR /&gt;I have no idea why&lt;BR /&gt;&lt;BR /&gt;Could you please explain this?</description>
      <pubDate>Fri, 26 Oct 2007 12:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092786#M30505</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-26T12:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092787#M30506</link>
      <description>The "faillog -r" maybe was the solution. This resets the failure count. Probably, the system has configure pam_tally, to deny the login if more than "N" authentication failures was intented. Resetting the login failure count will solve the problem.&lt;BR /&gt;&lt;BR /&gt;You will see pam_tally relates messages to /var/log/messages denying the login.</description>
      <pubDate>Fri, 26 Oct 2007 13:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092787#M30506</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-26T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092788#M30507</link>
      <description>Thanks Ivan&lt;BR /&gt;&lt;BR /&gt;Have a good weekend.</description>
      <pubDate>Fri, 26 Oct 2007 13:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092788#M30507</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-26T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092789#M30508</link>
      <description>yes; failog fixed your problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Following entry/file limits the account to be locked/disabled after five login failure.&lt;BR /&gt;&lt;BR /&gt;# grep LOGIN_RETRIES /etc/login.defs&lt;BR /&gt;LOGIN_RETRIES   5&lt;BR /&gt;&lt;BR /&gt;# pam_tally --user kumarts&lt;BR /&gt;User kumarts    (19806) has 10&lt;BR /&gt;&lt;BR /&gt;# faillog -r kumarts&lt;BR /&gt;&lt;BR /&gt;# pam_tally --user kumarts&lt;BR /&gt;User kumarts    (19806) has 0&lt;BR /&gt;&lt;BR /&gt;Once it is reset to zero ; you would be able to login.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2007 14:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092789#M30508</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-30T14:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092790#M30509</link>
      <description>Hi Santhosh&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your suggestions&lt;BR /&gt;&lt;BR /&gt;Have a great day&lt;BR /&gt;&lt;BR /&gt;-Gary</description>
      <pubDate>Tue, 30 Oct 2007 14:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092790#M30509</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092791#M30510</link>
      <description>&lt;BR /&gt;see this too&lt;BR /&gt;&lt;BR /&gt;# grep account /etc/pam.d/system-auth&lt;BR /&gt;account     required      /lib/security/$ISA/pam_unix.so&lt;BR /&gt;account     required      /lib/security/$ISA/pam_tally.so deny=5 no_magic_root reset&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Oct 2007 14:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092791#M30510</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-30T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092792#M30511</link>
      <description>Normally, when we execute command " failog -m #", How to set the value of max number?</description>
      <pubDate>Tue, 30 Oct 2007 14:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092792#M30511</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092793#M30512</link>
      <description>In my /etc/login.defs file, no LOGIN_RETRIES setting. Should I set it, value?&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;no entries of account required /lib/security/$ISA/pam_unix.so&lt;BR /&gt;account required /lib/security/$ISA/pam_tally.so deny=5 no_magic_root reset in my system-auth file.</description>
      <pubDate>Tue, 30 Oct 2007 14:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092793#M30512</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092794#M30513</link>
      <description>&amp;gt;&amp;gt; How to set the value of max number?&lt;BR /&gt;&lt;BR /&gt;As described in the previous post, the system-auth file specifies the maximum.</description>
      <pubDate>Tue, 30 Oct 2007 14:35:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092794#M30513</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-30T14:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092795#M30514</link>
      <description>Your mean, If I wanna do the login failure tally, I should add below entry:&lt;BR /&gt;account     required      pam_tally.so deny=5 no_magic_root&lt;BR /&gt;in /etc/pam.d/system-auth. "5" is the max faulure attempt value, right? If the user failure five times, the system will block his account or do nothing? If the account be blocked by over the limitation, as the system admin how to help him? faillog -r?</description>
      <pubDate>Tue, 30 Oct 2007 14:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092795#M30514</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T14:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092796#M30515</link>
      <description>Hi Santhosh&lt;BR /&gt;&lt;BR /&gt;What't the means of "reset" in the end of the line ...deny=5 no_magic_root reset &lt;BR /&gt;&lt;BR /&gt;thanks guys</description>
      <pubDate>Tue, 30 Oct 2007 14:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092796#M30515</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092797#M30516</link>
      <description>For full informatio about pam_tally, please see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_tally.html" target="_blank"&gt;http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_tally.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And yes, the administrator must reset the counter to enable access to the account (the account is not disabled, it cannot login by PAM restrictions, is different from usermod -L).</description>
      <pubDate>Tue, 30 Oct 2007 14:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092797#M30516</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-30T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP User could not access system</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092798#M30517</link>
      <description>Thanks a lot Ivan</description>
      <pubDate>Tue, 30 Oct 2007 16:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ldap-user-could-not-access-system/m-p/4092798#M30517</guid>
      <dc:creator>Gary L</dc:creator>
      <dc:date>2007-10-30T16:20:56Z</dc:date>
    </item>
  </channel>
</rss>

