<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks for explanation :).<br>Something like that?<br><br>tmp = ldb_msg_find_attr_as_string(res-&gt;msgs[0],CONFDB_DOMAIN_ACCESS_PROVIDER,NULL);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><font style="font-size: 8pt;" size="1">if (tmp &amp;&amp; strcasecmp(tmp, "permit") != 0) {</font></b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .......<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>And documentatión<br><br>&nbsp;&lt;term&gt;access_provider (string)&lt;/term&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;listitem&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;para&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The access control provider used for the domain.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There are two built-in access providers (in<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addition to any included in installed backends)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Internal special providers are:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/para&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;para&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font style="font-size: 8pt;" size="1"><b>&lt;quote&gt;permit&lt;/quote&gt; always allow access. It's the only permitted access provider for a local domain. </b></font><br><br><div><div id="SkyDrivePlaceholder"></div>&gt; Date: Thu, 10 May 2012 11:31:58 +0200<br>&gt; From: jhrozek@redhat.com<br>&gt; To: sssd-devel@lists.fedorahosted.org<br>&gt; Subject: Re: [SSSD] [PATCH] Bad check for id_provider=local and access_provider=permit<br>&gt; <br>&gt; On Thu, May 10, 2012 at 01:01:44AM -0500, Ariel Barria wrote:<br>&gt; &gt;    apologize for the patch file name :D<br>&gt; &gt; <br>&gt; &gt;    https://fedorahosted.org/sssd/ticket/1172<br>&gt; <br>&gt; Hi Ariel,<br>&gt; <br>&gt; thank you very much for the patch! The naming and formatting of the patch<br>&gt; is fine.<br>&gt; <br>&gt; This approach would remove the startup error as described in the ticket<br>&gt; but maybe it would be better if the "permit" access provider because<br>&gt; that's what the local provider does internally anyway. It would also warn<br>&gt; administrators who tries to use some other access<br>&gt; <br>&gt; So I think the proper fix would be to swap "local" for "permit" in the check.<br>&gt; We should probably also amend the documentation (src/man/sssd.conf.5.xml)<br>&gt; where the permit access provider is described to say that it's the only<br>&gt; allowed access provider for a local domain.<br>&gt; _______________________________________________<br>&gt; sssd-devel mailing list<br>&gt; sssd-devel@lists.fedorahosted.org<br>&gt; https://fedorahosted.org/mailman/listinfo/sssd-devel<br></div>                                               </div></body>
</html>