<p>Hi</p>
<p>He ment BASE directive in /etc/openldap/ldap.conf</p>
<p>Greg.</p>
<p>Send from htc desire z</p>
<div class="gmail_quote">13-08-2012 12:52, "Fosiul Alam" <<a href="mailto:fosiul@gmail.com">fosiul@gmail.com</a>> napisa³(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi thanks<br>
<br>
But<br>
<br>
dapsearch -xZZ -D "cn=Directory Manager" -w 'testtest' -b "l=uk"<br>
"uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan"<br>
<br>
it does not return anything<br>
<br>
you meant to put<br>
<br>
dapsearch -xZZ -D "cn=Directory Manager" -w 'testtest' -b "<br>
l=uk,dc=fosiul,dc=lan""<br>
"uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan"<br>
<br>
?? still it does not return anything<br>
<br>
<br>
also what you meant by to change value in ldap.conf ??<br>
<br>
<br>
On Mon, Aug 13, 2012 at 11:29 AM, Juan Asensio Sánchez <<a href="mailto:okelet@gmail.com">okelet@gmail.com</a>> wrote:<br>
> Yo should use parameter "-b" in ldapsearch:<br>
><br>
> ldapsearch -xZZ -D "cn=Directory Manager" -w 'testtest' -b "l=uk"<br>
> "uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan"<br>
><br>
> Or change the default values in ldap.conf.<br>
><br>
> Regards.<br>
><br>
> 2012/8/13 Fosiul Alam <<a href="mailto:fosiul@gmail.com">fosiul@gmail.com</a>>:<br>
>> Hi Bellow search should return some result ( and its working on my test lab)<br>
>> but in production server .. i believe its getting the wrong base :<br>
>><br>
>> # # base <dc=uk,dc=fosiul,dc=lan> (default) with scope subtree<br>
>><br>
>> it should be l=uk.<br>
>> bellow is the search :<br>
>><br>
>> ldapsearch -xZZ -D "cn=Directory Manager" -w 'testtest'<br>
>> "uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan"<br>
>> # extended LDIF<br>
>> #<br>
>> # LDAPv3<br>
>> # # base <dc=uk,dc=fosiul,dc=lan> (default) with scope subtree<br>
>> # filter: uniqueMember=uid=falam,ou=users,l=uk,dc=fosiul,dc=lan<br>
>> # requesting: ALL<br>
>> #<br>
>> # search result<br>
>> search: 3<br>
>> result: 32 No such object<br>
>> matchedDN: dc=fosiul,dc=lan<br>
>><br>
>> # numResponses: 1<br>
>><br>
>><br>
>> can any one please tel me how to fix query ?? i am stuck now ..<br>
>> Thanks<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><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><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>