Mailing List Archive



Back to the month index Back to the list index

Art Matheny (matheny@usf.edu)
Tue, 25 Nov 1997 18:03:26 -0500 (EST)


Date: Tue, 25 Nov 1997 18:03:26 -0500 (EST)
From: Art Matheny <matheny@usf.edu>
Subject: w3-auth authorization failed for newbie
Message-ID: <Pine.GSO.3.96.971125170313.21565C-100000@curiac>

I hadn't tried w3-auth before, but today I decided that I need it badly,
so I set it up, but I can not get past the Password entry. I am now at an
impasse and would be grateful for any suggestions.

First the obvious: I am using the same UserID and Password that I entered
for the "super user" in setup_w3auth. Of that I am sure.

After doing what it says in the manual (see details below) I open
/cgi-bin/w3-auth in my Netscape browser. The "Netscape: Password" window
pops up with the prompt, "Enter username for 'W3 Auth' at
data.acomp.usf.edu". I enter the super user's username and password,
"matheny" for the User ID input and "please" for the Password input and
click on OK. The result is always a box that says "Authorization failed".

I have tried this repeatedly on two different hosts (both Solaris) with
the same result. I can find no clue in the manual. Can anyone suggest a
course of action?

------------------------------ details ----------------------------
Browser: Netscape communicator 4.03.
HTTP Server: Netscape

data% uname -a
SunOS data 5.5.1 Generic_103640-08 sun4m sparc SUNW,SPARCstation-10

data% msqladmin version

Version Details :-

        msqladmin version 2.0.3
        mSQL server version 2.0.3
        mSQL protocol version 23
        mSQL connection Localhost via UNIX socket
        Target platform Solaris-2.5.1-Sparc

Configuration Details :-

        Default config file /usr/local/apps/msql2/msql.conf
        TCP socket 4335
        UNIX socket /tmp/msql2.sock
        mSQL user msql2
        Admin user msql2
        Install directory /usr/local/apps/msql2
        PID file location /usr/local/apps/msql2/msql2d.pid
        Memory Sync Timer 30
        Hostname Lookup True

data% ./setup_w3auth

This script sets up the required databases and tables for the W3-Auth
access control system.

Creating the empty database ...Database "w3-msql" created.

W3-mSQL Setup
-------------

Connecting to the mSQL server ... connected.
Creating the namespace table ... done.
Creating the areas table ... done.
Creating the access control table ... done.
Creating the access control table index ... done.
Creating the users table ... done.
Creating the users table index ... done.
Creating the namespace perms table ... done.
Creating the namespace perms table index ... done.
Creating the group_members table ... done.
Creating the group_members table index ... done.
Creating the groups table ... done.
Creating the groups table index ... done.
Creating the group_admin table ... done.
Creating the group_admin table index ... done.
Creating the W3-auth administrative namespace ... done.

Adding a "super user" to the w3-msql auth tables

Username : matheny
Full name : Bo Matheny
Password : please
Done.

Setup of W3-mSQL is complete

data% ls -l /usr/local/apps/ns-home/cgi-bin/w3-auth
-rwxr-xr-x 1 msql2 86356 Nov 25 16:09 /usr/local/apps/ns-home/cgi-bin/w3-auth

data% echo "select * from users\g"|msql w3-msql

Welcome to the miniSQL monitor. Type \h for help.

mSQL >
Query OK. 1 row(s) modified or retrieved.

+---------------------------+----------------------+----------------------+-------------------------------------------
 | namespace | uname | passwd
| full_name |

+---------------------------+----------------------+----------------------+----------------------------------------------------+
 | SuperUser | matheny | AAjn0L2WjCg.I
| Bo Matheny |

+---------------------------+----------------------+----------------------+----------------------------------------------------+

--
-- Art Matheny          LIB 612       813-974-1795      FAX: 813-974-1799
-- Academic Computing   University of South Florida     Tampa, FL 33620
-- matheny@usf.edu      http://curiac.acomp.usf.edu/nic/