<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>sssd.conf:</div>
<div><br>
</div>
<div>
<div>[domain/LDAP]</div>
<div>enumerate = False</div>
<div>cache_credentials = False</div>
<div>id_provider = ldap</div>
<div>auth_provider = ldap</div>
<div>ldap_uri = <a href="ldap://server:port">ldap://server:port</a></div>
<div>ldap_id_use_start_tls = True</div>
<div>ldap_tls_reqcert = allow</div>
<div>ldap_tls_cacertdir = /etc/openldap/cacerts</div>
<div>ldap_search_base = ou=People,dc=xxxx,dc=xxxx,c=us</div>
<div>ldap_default_bind_dn = uid=xxx,ou=xx,dc=xxx,dc=xxx,c=us</div>
<div>ldap_schema = rfc2307</div>
<div>ldap_default_authtok_type = password</div>
<div>ldap_default_authtok = xxxx</div>
<div>ldap_user_object_class = inetOrgPerson</div>
<div>ldap_search_timeout = 60</div>
<div>ldap_network_timeout = 60</div>
<div>debug_level = 4</div>
<div>min_id = 0</div>
<div><br>
</div>
<div>ldap_user_uid_number = employeeNumber</div>
<div>ldap_user_gid_number = employeeNumber</div>
<div>ldap_user_gecos = cn</div>
<div><br>
</div>
<div>[sssd]</div>
<div>services = nss, pam</div>
<div>config_file_version = 2</div>
<div>domains = LDAP</div>
<div><br>
</div>
<div>[nss]</div>
<div>homedir_substring = /home</div>
<div><br>
</div>
<div>[pam]</div>
<div><br>
</div>
<div>[sudo]</div>
<div><br>
</div>
<div>[autofs]</div>
<div><br>
</div>
<div>[ssh]</div>
<div><br>
</div>
<div>[pac]</div>
<div><br>
</div>
<div>[ifp]</div>
</div>
<div><br>
</div>
<br>
<div>
<div>On Nov 13, 2014, at 9:20 AM, Nathan Robbins &lt;<a href="mailto:nrobbins@olemiss.edu">nrobbins@olemiss.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div>
<div style="font-size: 12pt; font-family: Calibri, sans-serif;">I have enumerate = False
<div><br>
</div>
<div>I will post sssd.conf shortly when I return to the office shortly.&nbsp;</div>
<br>
<div id="x_htc_header">----- Reply message -----<br>
From: &quot;Jakub Hrozek&quot; &lt;<a href="mailto:jhrozek@redhat.com">jhrozek@redhat.com</a>&gt;<br>
To: &quot;<a href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a>&quot; &lt;<a href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a>&gt;<br>
Subject: [SSSD] Removing uidNumberfrom SSSD Search Filter<br>
Date: Thu, Nov 13, 2014 9:15 AM</div>
</div>
<br>
</div>
<font size="2"><span style="font-size: 10pt;">On Thu, Nov 13, 2014 at 03:04:44PM &#43;0000, Nathan Robbins wrote:<br>
&gt; Cool. I found that in the docs : ldap_user_uid_number and ldap_user_gid_number<br>
&gt;&nbsp;<br>
&gt; I set those to an attribute in my LDAP that has a numerical value, however, still in the query sent to my ldap server, it has (&amp;(uidNumber=*)(!(uidNumber=0)) in the query.<br>
<br>
Do you have enumerate=true perchance?<br>
<br>
Can you paste your sssd.conf ?<br>
<br>
&gt;&nbsp;<br>
&gt; Even if I set min_id = 0<br>
&gt;&nbsp;<br>
&gt; This causes my LDAP server to return no results, no matter what I do.&nbsp; I am ok with mapping to another attribute, but unless I can override the search filter and get rid of that “and” I probably won’t be able to make it work.<br>
&gt;&nbsp;<br>
&gt; Ideas?<br>
&gt;&nbsp;<br>
&gt; On Nov 13, 2014, at 3:43 AM, Jakub Hrozek &lt;<a href="mailto:jhrozek@redhat.com">jhrozek@redhat.com</a>&gt; wrote:<br>
&gt;&nbsp;<br>
&gt; &gt; On Wed, Nov 12, 2014 at 08:15:49PM &#43;0000, Nathan Robbins wrote:<br>
&gt; &gt;&gt; I would like to try and accomplish a similar result with sssd, mainly in order to get it functioning with samba.&nbsp; Is is possible for me to set it up such that i build the local user account just like above, and then use sssd *only* for authentication?&nbsp;<br>
&gt; &gt;&gt;&nbsp;<br>
&gt; &gt;&gt; N<br>
&gt; &gt;&nbsp;<br>
&gt; &gt; The released versions of SSSD can only serve POSIX users, that is, users<br>
&gt; &gt; who have an UID and a GID. You can either point SSSD to an attribute<br>
&gt; &gt; that contains the ID or map the ID from a Windows SID.<br>
&gt; &gt;&nbsp;<br>
&gt; &gt; The ID attribute doesn't have to be named uidNumber/gidNumber and with<br>
&gt; &gt; recent enough version you can even use the same LDAP attribute for both.<br>
&gt; &gt; But there has to be either a numerical ID attribute or a Windows SID to<br>
&gt; &gt; derive the ID from.<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; sssd-devel mailing list<br>
&gt; &gt; <a href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a><br>
&gt; &gt;&nbsp;<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a><br>
&gt;&nbsp;<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;&nbsp;<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a><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">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a><br>
</span></font>_______________________________________________<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">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a></div>
</blockquote>
</div>
<br>
</body>
</html>