<p>Attribute memberuid require just account uid name doesn&#39;t it? </p>
<p>Btw. I am getting confused... In you test lab you use uniqemember and now memberuid? Can you explain?</p>
<p>Greg.</p>
<p>Send from htc desire z</p>
<div class="gmail_quote">13-08-2012 13:16, &quot;Fosiul Alam&quot; &lt;<a href="mailto:fosiul@gmail.com">fosiul@gmail.com</a>&gt; napisa³(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i have chagned base to dc=fosiul,dc=lan<br>
<br>
also this<br>
<br>
<br>
ldapsearch -xZZ -D &quot;Manager&quot; -w &#39;test&#39; -b &quot;l=uk,dc=fosiul,dc=lan&quot;<br>
&quot;memberUid=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan&quot;<br>
<br>
<br>
# extended LDIF<br>
#<br>
# LDAPv3<br>
# base &lt;l=uk,dc=fosiul,dc=lan&gt; with scope subtree<br>
# filter: memberUid=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan<br>
# requesting: ALL<br>
#<br>
<br>
# search result<br>
search: 3<br>
result: 0 Success<br>
<br>
# numResponses: 1<br>
<br>
<br>
but its not giving anything ..<br>
its works on my  lab<br>
but not in production<br>
<br>
<br>
On Mon, Aug 13, 2012 at 12:00 PM, Juan Asensio Sánchez &lt;<a href="mailto:okelet@gmail.com">okelet@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; Yes, -b &quot;l=uk,dc=fosiul,dc=lan&quot; (in your message there are 2 double<br>
&gt; quotes), or, as Grzegorz says, change the base in ldap.conf (the path<br>
&gt; changes if you on Debian or Red hat based systems, but not sure).<br>
&gt;<br>
&gt; Are you still getting the error, or just no entries are returned? If<br>
&gt; the seconf case, then no entries match the filter.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt;<br>
&gt; 2012/8/13 Grzegorz Dwornicki &lt;<a href="mailto:gd1100@gmail.com">gd1100@gmail.com</a>&gt;:<br>
&gt;&gt; Hi<br>
&gt;&gt;<br>
&gt;&gt; He ment BASE directive in /etc/openldap/ldap.conf<br>
&gt;&gt;<br>
&gt;&gt; Greg.<br>
&gt;&gt;<br>
&gt;&gt; Send from htc desire z<br>
&gt;&gt;<br>
&gt;&gt; 13-08-2012 12:52, &quot;Fosiul Alam&quot; &lt;<a href="mailto:fosiul@gmail.com">fosiul@gmail.com</a>&gt; napisa³(a):<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi thanks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; But<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; dapsearch -xZZ -D &quot;cn=Directory Manager&quot; -w &#39;testtest&#39; -b &quot;l=uk&quot;<br>
&gt;&gt;&gt; &quot;uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; it does not return anything<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; you meant to put<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; dapsearch -xZZ -D &quot;cn=Directory Manager&quot; -w &#39;testtest&#39; -b &quot;<br>
&gt;&gt;&gt; l=uk,dc=fosiul,dc=lan&quot;&quot;<br>
&gt;&gt;&gt; &quot;uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ??  still it does not return anything<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; also what you meant by to change value in ldap.conf ??<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, Aug 13, 2012 at 11:29 AM, Juan Asensio Sánchez &lt;<a href="mailto:okelet@gmail.com">okelet@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; Yo should use parameter &quot;-b&quot; in ldapsearch:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; ldapsearch -xZZ -D &quot;cn=Directory Manager&quot; -w &#39;testtest&#39; -b &quot;l=uk&quot;<br>
&gt;&gt;&gt; &gt; &quot;uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan&quot;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Or change the default values in ldap.conf.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Regards.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2012/8/13 Fosiul Alam &lt;<a href="mailto:fosiul@gmail.com">fosiul@gmail.com</a>&gt;:<br>
&gt;&gt;&gt; &gt;&gt; Hi Bellow search should return some result ( and its working on my test<br>
&gt;&gt;&gt; &gt;&gt; lab)<br>
&gt;&gt;&gt; &gt;&gt; but in production server .. i believe its getting the wrong base :<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; # # base &lt;dc=uk,dc=fosiul,dc=lan&gt; (default) with scope subtree<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; it should be l=uk.<br>
&gt;&gt;&gt; &gt;&gt; bellow is the search :<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; ldapsearch -xZZ -D &quot;cn=Directory Manager&quot; -w &#39;testtest&#39;<br>
&gt;&gt;&gt; &gt;&gt; &quot;uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan&quot;<br>
&gt;&gt;&gt; &gt;&gt; # extended LDIF<br>
&gt;&gt;&gt; &gt;&gt; #<br>
&gt;&gt;&gt; &gt;&gt; # LDAPv3<br>
&gt;&gt;&gt; &gt;&gt; # # base &lt;dc=uk,dc=fosiul,dc=lan&gt; (default) with scope subtree<br>
&gt;&gt;&gt; &gt;&gt; # filter: uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan<br>
&gt;&gt;&gt; &gt;&gt; # requesting: ALL<br>
&gt;&gt;&gt; &gt;&gt; #<br>
&gt;&gt;&gt; &gt;&gt; # search result<br>
&gt;&gt;&gt; &gt;&gt; search: 3<br>
&gt;&gt;&gt; &gt;&gt; result: 32 No such object<br>
&gt;&gt;&gt; &gt;&gt; matchedDN: dc=fosiul,dc=lan<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; # numResponses: 1<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; can any one please tel me how to fix query ?? i am  stuck now ..<br>
&gt;&gt;&gt; &gt;&gt; Thanks<br>
&gt;&gt;&gt; &gt;&gt; --<br>
&gt;&gt;&gt; &gt;&gt; 389 users mailing list<br>
&gt;&gt;&gt; &gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt;&gt; &gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;&gt;&gt; &gt; --<br>
&gt;&gt;&gt; &gt; 389 users mailing list<br>
&gt;&gt;&gt; &gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt;&gt; &gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Regards<br>
&gt;&gt;&gt; Fosiul Alam<br>
&gt;&gt;&gt; 07877100621<br>
&gt;&gt;&gt; <a href="http://www.fosiul.co.uk" target="_blank">http://www.fosiul.co.uk</a><br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; 389 users mailing list<br>
&gt;&gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; 389 users mailing list<br>
&gt;&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt;&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
&gt; --<br>
&gt; 389 users mailing list<br>
&gt; <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
<br>
<br>
<br>
--<br>
Regards<br>
Fosiul Alam<br>
07877100621<br>
<a href="http://www.fosiul.co.uk" target="_blank">http://www.fosiul.co.uk</a><br>
--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></blockquote></div>