<p dir="ltr"><br>
I solved my problem thanks to your reply :-)</p>
<p dir="ltr">For the others, my access provider is ldap and I didn&#39;t configured the ldap_access_filter. If ldap_access_filter isn&#39;t configured and filter is in the ldap_access_order (which is the default when it&#39;s not specified) all users are denied access.</p>

<p dir="ltr">After having configured ldap_access_filter with a valid memberOf=cn=authorizedUsersGroup, ou=... and added my users to this group on the DC everything work as expected.</p>
<p dir="ltr">Thank you Sumit</p>
<div class="gmail_quot&lt;blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jun 26, 2013 at 06:10:55PM +0200, Mathieu Bouillaguet wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; We are trying to setup Kerberos authentication for our linux VMs on an<br>
&gt; Active Directory.<br>
&gt;<br>
&gt; We use Red Hat 6.2, the sssd version is 1.5.1.-66.el6.<br>
&gt;<br>
&gt; getent retrieve the domain users and groups.<br>
&gt;<br>
&gt; If I try to ssh into the VM I am disconnected with &quot;pam_sss(sshd:account)<br>
&gt; access denied for user&quot;. The pam authentication module succeed as seen in<br>
&gt; the log but the account management module reject me each time.<br>
&gt;<br>
&gt; If I comment the line &quot;account [default=bad success=ok user_unknown=ignore]<br>
&gt; pam_sss.so&quot; in the /etc/pam.d/password-auth fileI can login via ssh. If I<br>
&gt; comment it in the /etc/pam.d/system-auth file I can log in locally.<br>
&gt;<br>
&gt; I can&#39;t find the reason why this pam_sss account management module rejects<br>
&gt; me. I didn&#39;t find anything interesting in the logs. I looked in the<br>
&gt; /var/log/secure, /var/log/sssd/sssd_pam.log /var/log/sssd/sssd_*domain*.log,<br>
&gt; I even searched in the source code but to no avail.<br>
<br>
...<br>
<br>
can you send your sssd.conf so that we can see which access provider is<br>
configured? E.g. if you use the krb5 access provider please have a look<br>
at the sssd-krb5 man page, a .k5login file is needed in this case.<br>
<br>
&gt;<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [be_pam_handler] (4): Got<br>
&gt; request with the following data<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): command:<br>
&gt; PAM_ACCT_MGMT<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): domain: AOP<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): user:<br>
&gt; yiqevm<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): service:<br>
&gt; sshd<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): tty: ssh<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): ruser:<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): rhost:<br>
&gt; localhost<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): authtok<br>
&gt; type: 0<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): authtok<br>
&gt; size: 0<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): newauthtok<br>
&gt; type: 0<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): newauthtok<br>
&gt; size: 0<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): priv: 0<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [pam_print_data] (4): cli_pid:<br>
&gt; 8734<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [write_pipe_handler] (6): All<br>
&gt; data has been sent!<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [read_pipe_handler] (6): EOF<br>
&gt; received, client finished<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [be_pam_handler_callback] (4):<br>
&gt; Backend returned: (0, 6, &lt;NULL&gt;) [Success]<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [be_pam_handler_callback] (4):<br>
&gt; Sending result [6][AOP]<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [be_pam_handler_callback] (4):<br>
&gt; Sent result [6][AOP]<br>
&gt; (Wed Jun 26 12:27:39 2013) [sssd[be[AOP]]] [child_sig_handler] (4): child<br>
&gt; [8739] finished successfully.<br>
<br>
The access provider rejects the access with error code 6<br>
(PAM_PERM_DENIED). Please resend logs with a higher debug level, 10 at<br>
best. If you prefer you can send them to me by directly.<br>
<br>
bye,<br>
Sumit<br>
<br>
&gt;<br>
&gt; Any help, would be appreciated.<br>
&gt;<br>
&gt; Thanks<br>
<br>
&gt; _______________________________________________<br>
&gt; sssd-devel mailing list<br>
&gt; <a href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a><br>
&gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a><br>
<br>
_______________________________________________<br>
sssd-devel mailing list<br>
<a href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a><br>
</div>