Mont Rothstein wrote:

OK, I obviously have something fundamental skrewed up.

If I try either the ldapsearch or ldapmodify commands on the wikipedia page I get the following error:

Try putting in your host and port explicitly e.g.
ldapsearch -x -h yourhost -p yourport -s base -b "" "objectclass=*"


ldap_simple_bind: Can't connect to the LDAP server - Connection reset by peer

Does anyone have a guess as to what I might have skrewed up?

Thanks,
-Mont


On 3/2/06, *Richard Megginson* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Mont Rothstein wrote:

    > admin-serv/logs/access gives me:
    >
    > 192.168.1.115 <http://192.168.1.115> <http://192.168.1.115> - -
    [02/Mar/2006:12:38:03 -0800]
    > "GET /admin-serv/authenticate HTTP/1.0" 401 488
    >
    > admin-serv/logs/error gives me:
    >
    > [Thu Mar 02 12:38:03 2006] [notice] [client 192.168.1.115
    <http://192.168.1.115>
    > <http://192.168.1.115>] admserv_host_ip_check: ap_get_remote_host
    > could not resolve 192.168.1.115 <http://192.168.1.115> <
    http://192.168.1.115>
    > [Thu Mar 02 12:38:03 2006] [notice] [client 192.168.1.115
    <http://192.168.1.115>
    > <http://192.168.1.115>] admserv_host_ip_check: host
    > [rheles4rs1.foray.com <http://rheles4rs1.foray.com>
    <http://rheles4rs1.foray.com>] did not match
    > pattern [*.forayadams.foray.com] -will scan aliases
    > [Thu Mar 02 12:38:03 2006] [notice] [client 192.168.1.115
    <http://192.168.1.115>
    > <http://192.168.1.115>] admserv_host_ip_check: host alias
    [rheles4rs1]
    > did not match pattern [*.forayadams.foray.com]
    > [Thu Mar 02 12:38:03 2006] [notice] [client 192.168.1.115
    <http://192.168.1.115>
    > <http://192.168.1.115 >] admserv_host_ip_check: Unauthorized host
    > ip=192.168.1.115 <http://192.168.1.115> <http://192.168.1.115>,
    connection rejected
    >
    > Looking at the above log entries I am not sure what to make of
    them.
    > I can do a reverse lookup on the IP address via the host command.  I
    > have no idea where it is getting "rheles4rs1.foray.com
    <http://rheles4rs1.foray.com>
    > < http://rheles4rs1.foray.com>" from.  This is missing the
    forayadams
    > subdomain.

    It seems like a DNS problem, but if you just want to disable this
    checking in the meantime, see
    http://directory.fedora.redhat.com/wiki/Howto:AdminServerLDAPMgmt

    >
    > Since that is so odd, I would suspect that is the problem,
    except that
    > I have no idea where it is getting that incorrect FQDN from.
    >
    > Do these logs entries say more to you than they do to me?
    >
    > Thanks,
    > -Mont
    >
    >
    >
    > On 3/2/06, *Richard Megginson* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> 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.
    >     >
    >     > 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
    <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.
    >
    >     tail admin-serv/logs/error
    >     tail admin-serv/logs/access
    >
    >     >
    >     > Does anyone have any ideas as to what I've done wrong?
    >     >
    >     > Thanks,
    >     > -Mont
    >     >
> >------------------------------------------------------------------------
    >     >
    >     >--
    >     >Fedora-directory-users mailing list
    >     > [email protected]
    <mailto:[email protected]>
    >     <mailto:[email protected]
    <mailto:[email protected]>>
    >     > https://www.redhat.com/mailman/listinfo/fedora-directory-users
    >     >
    >     >
    >
    >
    >     --
    >     Fedora-directory-users mailing list
    >     [email protected]
    <mailto:[email protected]>
    >     <mailto:[email protected]
    <mailto:[email protected]>>
    >     https://www.redhat.com/mailman/listinfo/fedora-directory-users
> <https://www.redhat.com/mailman/listinfo/fedora-directory-users >
    >
    >
    >
    >
    >------------------------------------------------------------------------
    >
    >--
    >Fedora-directory-users mailing list
    > [email protected]
    <mailto:[email protected]>
    >https://www.redhat.com/mailman/listinfo/fedora-directory-users
    >
    >


    --
    Fedora-directory-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/fedora-directory-users
    <https://www.redhat.com/mailman/listinfo/fedora-directory-users>




------------------------------------------------------------------------

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to