I just ran into the same problem using 'ldapsearch' yesterday.  Out of curiosity, whats the reasoning behind FDS not supplying a default root?  Is it common practice to set it somewhere once you've setup your tree, or is it deliberately omitted for some compatibility or security reason?
<br><br>-jim<br><br><div><span class="gmail_quote">On 1/25/07, <b class="gmail_sendername">Heath Henderson</b> &lt;<a href="mailto:heath@a5.com">heath@a5.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks, I had tried this last night, but will give it another go today.<br><br>At least I know I was in the right place.<br><br><br>--<br>Heath Henderson<br><a href="mailto:heath@a5.com">heath@a5.com</a><br>--<br><br><br>
<br>&gt; From: Patrick Morris &lt;<a href="mailto:patrick.morris@hp.com">patrick.morris@hp.com</a>&gt;<br>&gt; Reply-To: &quot;General discussion list for the Fedora Directory server project.&quot;<br>&gt; &lt;<a href="mailto:fedora-directory-users@redhat.com">
fedora-directory-users@redhat.com</a>&gt;<br>&gt; Date: Thu, 25 Jan 2007 11:44:07 -0800<br>&gt; To: &quot;General discussion list for the Fedora Directory server project.&quot;<br>&gt; &lt;<a href="mailto:fedora-directory-users@redhat.com">
fedora-directory-users@redhat.com</a>&gt;<br>&gt; Subject: Re: [Fedora-directory-users] FDS and phpLDAPadmin<br>&gt;<br>&gt; On Thu, 25 Jan 2007, Heath Henderson wrote:<br>&gt;<br>&gt;&gt; I am new to LDAP and more specifically FDS.&nbsp;&nbsp;I had an OpenLDAP server setup
<br>&gt;&gt; a year or so ago which I used an older version of phpldapadmin with.&nbsp;&nbsp;It<br>&gt;&gt; seemed to work without too much trouble, but I can&#39;t seem to get either FDS<br>&gt;&gt; or OpenLDAP working with phpldapamdin.
<br>&gt;&gt;<br>&gt;&gt; I found some information in the list archives as well as other places, but<br>&gt;&gt; my problem seems to be still existing.<br>&gt;&gt;<br>&gt;&gt; The error I get from phpLDAPadmin<br>&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;Could not determine the root of your LDAP tree.<br>&gt;&gt; It appears that the LDAP server has been configured to not reveal its root.<br>&gt;&gt; Please specify it in config.php<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I would really like to use FDS and have it running what I consider very
<br>&gt;&gt; well. I am not able to get this plugged into it and I really don&#39;t know<br>&gt;&gt; enough yet on where to look to configure either FDS to reveal its root or<br>&gt;&gt; phpldapadmin to know what the rootDSE is set to?
<br>&gt;<br>&gt; In your phpLDAPadmin config, you need to set this:<br>&gt;<br>&gt; /* Array of base DNs of your LDAP server. Leave this blank to have<br>&gt;&nbsp;&nbsp;* phpLDAPadmin<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; auto-detect it for you. */<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; // $ldapservers-&gt;SetValue($i,&#39;server&#39;,&#39;base&#39;,array(&#39;&#39;));
<br>&gt;<br>&gt; It should be an array of the DNs you want to appear there.<br>&gt;<br>&gt; --<br>&gt; Fedora-directory-users mailing list<br>&gt; <a href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com
</a><br>&gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>&gt;<br><br><br>--<br>Fedora-directory-users mailing list<br><a href="mailto:Fedora-directory-users@redhat.com">
Fedora-directory-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br></blockquote></div><br>