If you can resolve the machine name via dns or local files, try this section of this wiki
 
http://directory.fedora.redhat.com/wiki/Howto:AdminServerLDAPMgmt 
 
I had the exact same problems and this took care of it 


From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Mont Rothstein
Sent: Thursday, March 02, 2006 3:26 PM
To: General discussion list for the Fedora Directory server project.
Subject: Re: [Fedora-directory-users] Can't login to console

I am running Apache 2.0.52

As far as verifying that my directory server is up and running:

ns-slapd is running under the dsuser account
httpd.worker is running under the dsuser account

I fear I need help with ldapsearch.

If I try the following as root:

ldapsearch -LLL "(cn=Directory Manager)"

I get:

ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

If I try the following:

ldapsearch -LLL "(cn=Directory Manager)" -x -W

it prompts me for a password. I enter the administrator (dsadmin) password and get:

ldap_bind: Can't contact LDAP server (-1)

This may indicate something is wrong, ot simply that I am trying to use ldapsearch incorrectly.

Your assistance is greatly appreciated.

-Mont


On 3/2/06, Nathan Kinder <nkinder@redhat.com> wrote:
Mont Rothstein wrote:

> I am trying to setup Fedora Directory Server 1.0.1 on an x86 box
> running RedHat ES4 in a VMWare session.

What version of Apache are you running on the system?

>
> I've run setup.  I've created a user and group dsuser which is set as
> the server user.  I set the admin to be dsadmin.  I set the admin
> server to be run as root.
>
> setup completes and appears to start correctly.
>
> I use the following line to launch the console:
>
> ./startconsole –x nologo –u dsadmin –a
> http://rheles4rs1.forayadams.foray.com:45303
>
> In the login window I enter the dsadmin password.  I then get a panel
> with the following message:
>
> Cannot logon because of incorrect User ID,
> incorrect password or Directory problem.
>
> HttpException:
> Response: HTTP/1.1 401 Authorization Required
> Status: 401
> URL: http://rheles4rs1.forayadams.foray.com:45303/admin-serv/authenticate
>
> I'm sure I've done something stupid and basic somewhere, but I have no
> idea what and I can't find anything about this via search.
>
> Does anyone have any ideas as to what I've done wrong?

Make sure that your directory server is up and running.  You should try
doing an ldapsearch as the same user you are attempting to log into the
Console as.  If all else fails, tail your DS access log when you attempt
to log in via Console to see if the Directory is even getting hit.

-NGK

>
> Thanks,
> -Mont
>
>------------------------------------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>

--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users

www.preferredcare.org
"An Outstanding Member Experience," Preferred Care HMO Plans -- J. D. Power and Associates

Confidentiality Notice:
The information contained in this electronic message is intended for the exclusive use of the individual or entity named above and may contain privileged or confidential information.  If the reader of this message is not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that dissemination, distribution or copying of this information is prohibited.  If you have received this communication in error, please notify the sender immediately by telephone and destroy the copies you received.