I am running Apache 2.0.52<br>
<br>
As far as verifying that my directory server is up and running:<br>
<br>
ns-slapd is running under the dsuser account<br>
httpd.worker is running under the dsuser account<br>
<br>
I fear I need help with ldapsearch.<br>
<br>
If I try the following as root:<br>
<br>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">ldapsearch -LLL &quot;(cn=Directory Manager)&quot;</span><br>
</div>
<br>
I get:<br>
<br>
<div style="margin-left: 40px;">ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)<br>
</div>
<br>
If I try the following:<br>
<br>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">ldapsearch -LLL &quot;(cn=Directory Manager)&quot; -x -W</span><br>
<span style="font-family: courier new,monospace;"></span></div>
<span style="font-family: courier new,monospace;"><br>
</span>it prompts me for a password. I enter the administrator (dsadmin) password and get:<br>
<span style="font-family: courier new,monospace;"><br>
</span>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">ldap_bind: Can't contact LDAP server (-1)</span></span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;"></span></div>
<span style="font-family: courier new,monospace;"><br>
</span>This may indicate something is wrong, ot simply that I am trying to use ldapsearch incorrectly.<br>
<span style="font-family: courier new,monospace;"><br>
</span>Your assistance is greatly appreciated.<span style="font-family: courier new,monospace;"><br>
<br>
-Mont<br>
<br>
</span><br><div><span class="gmail_quote">On 3/2/06, <b class="gmail_sendername">Nathan Kinder</b> &lt;<a href="mailto:nkinder@redhat.com">nkinder@redhat.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;">
Mont Rothstein wrote:<br><br>&gt; I am trying to setup Fedora Directory Server 1.0.1 on an x86 box<br>&gt; running RedHat ES4 in a VMWare session.<br><br>What version of Apache are you running on the system?<br><br>&gt;<br>
&gt; I've run setup.&nbsp;&nbsp;I've created a user and group dsuser which is set as<br>&gt; the server user.&nbsp;&nbsp;I set the admin to be dsadmin.&nbsp;&nbsp;I set the admin<br>&gt; server to be run as root.<br>&gt;<br>&gt; setup completes and appears to start correctly.
<br>&gt;<br>&gt; I use the following line to launch the console:<br>&gt;<br>&gt; ./startconsole –x nologo –u dsadmin –a<br>&gt; <a href="http://rheles4rs1.forayadams.foray.com:45303">http://rheles4rs1.forayadams.foray.com:45303
</a><br>&gt;<br>&gt; In the login window I enter the dsadmin password.&nbsp;&nbsp;I then get a panel<br>&gt; with the following message:<br>&gt;<br>&gt; Cannot logon because of incorrect User ID,<br>&gt; incorrect password or Directory problem.
<br>&gt;<br>&gt; HttpException:<br>&gt; Response: HTTP/1.1 401 Authorization Required<br>&gt; Status: 401<br>&gt; URL: <a href="http://rheles4rs1.forayadams.foray.com:45303/admin-serv/authenticate">http://rheles4rs1.forayadams.foray.com:45303/admin-serv/authenticate
</a><br>&gt;<br>&gt; I'm sure I've done something stupid and basic somewhere, but I have no<br>&gt; idea what and I can't find anything about this via search.<br>&gt;<br>&gt; Does anyone have any ideas as to what I've done wrong?
<br><br>Make sure that your directory server is up and running.&nbsp;&nbsp;You should try<br>doing an ldapsearch as the same user you are attempting to log into the<br>Console as.&nbsp;&nbsp;If all else fails, tail your DS access log when you attempt
<br>to log in via Console to see if the Directory is even getting hit.<br><br>-NGK<br><br>&gt;<br>&gt; Thanks,<br>&gt; -Mont<br>&gt;<br>&gt;------------------------------------------------------------------------<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>&gt;<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>