<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 12/12/2014 01:43 PM, Jakub Hrozek
      wrote:<br>
    </div>
    <blockquote cite="mid:20141212124259.GU4411@hendrix.brq.redhat.com"
      type="cite">
      <pre wrap="">On Thu, Dec 11, 2014 at 07:43:14PM +0100, Pavel Reichl wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
On 12/11/2014 11:41 AM, Jakub Hrozek wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">From 077971dc3d8cefc8df123ed1e1018f06d7679545 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek<a class="moz-txt-link-rfc2396E" href="mailto:jhrozek@redhat.com">&lt;jhrozek@redhat.com&gt;</a>
Date: Thu, 11 Dec 2014 11:19:58 +0100
Subject: [PATCH 3/4] MAN: Misspelled username in pam_trusted_users is not
 fatal

The man page claimed that failing to resolve an user name results in
failure to start SSSD, but it's not the case and shouldn't be, because
marking a user as trusted only elevates privileges, so it's safe to
ignore that failure.
---
 src/man/sssd.conf.5.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index 3525d78caff28fd05cc18061d023fec3c50d1a47..2002ccc7caf7013ead5b97c463fba46b734090ae 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -907,11 +907,6 @@ fallback_homedir =/home/%u
                             the PAM responder even in case it is not in the
                             pam_trusted_users list.
                         &lt;/para&gt;
-                        &lt;para&gt;
-                            Also please note that if there is a user name in
-                            pam_trusted_users list which fails to be resolved
-                            it will cause that SSSD will not be started.
-                        &lt;/para&gt;
                     &lt;/listitem&gt;
                 &lt;/varlistentry&gt;
                 &lt;varlistentry&gt;
-- 1.9.3
</pre>
        </blockquote>
        <pre wrap="">Hello Jakub,
patches LGTM, I have just a little problem with 3rd patch - actually I think
that the man page describes what really happens - this is form my
sss_pam.log:

(Thu Dec 11 18:35:21 2014) [sssd[pam]] [sss_process_init] (0x0400):
Responder Initialization complete
(Thu Dec 11 18:35:21 2014) [sssd[pam]] [sss_user_by_name_or_uid] (0x0040):
[xxxxxxxxx] is neither a valid UID nor a user name which could be resolved
by getpwnam().
(Thu Dec 11 18:35:21 2014) [sssd[pam]] [csv_string_to_uid_array] (0x0040):
List item [xxxxxxxxx] is neither a valid UID nor a user name which could be
resolved by getpwnam().
(Thu Dec 11 18:35:21 2014) [sssd[pam]] [get_trusted_uids] (0x0010): Failed
to set allowed UIDs.
(Thu Dec 11 18:35:21 2014) [sssd[pam]] [pam_process_init] (0x0010):
get_trusted_uids failed: 22:[Invalid argument].
(Thu Dec 11 18:35:21 2014) [sssd[pam]] [sss_responder_ctx_destructor]
(0x0400): Responder is being shut down


</pre>
      </blockquote>
      <pre wrap="">
Oops, I must test better next time. Attached patch just makes sure that
we document properly what is and what is not checked.
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sssd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a>
</pre>
    </blockquote>
    ACK to all.<br>
    Thanks.<br>
  </body>
</html>