Gossamer Forum
Home : Products : DBMan : Installation :

default login

Quote Reply
default login
I wanted to create a button on a seperate page than the database to allow default users to view the database. I set my @auth_default_permissions to 1,0,0,0,0 and my $auth_no_authenticaion = 0. I created a link on the page and set the url to server.com/cgi-bin/db.cgi?db=default&uid=default&view_records=1&AE=Jonathan+Fisher, so it would list all forms that contain Jonathan Fisher as the AE, but everytime I try to run it, it just takes me to the Login page. How do I get around this?
Quote Reply
Re: default login In reply to
Make sure you have $auth_allow_default set to 1.

$auth_allow_default = 1;

------------------
webmaster@racedaze.com
Quote Reply
Re: default login In reply to
My problem is an extension of this... see below:

To MRMEAT's msg you replied:

"Make sure you have $auth_allow_default set to 1.

$auth_allow_default = 1; "

....with this enabled, how can I login as admin or any OTHER user via URL without changing this setting back to "0"?

Quote Reply
Re: default login In reply to
Simply access:

In Reply To:

http://www.yourdomain.com/cgi-bin/dbman/db.cgi


That will prompt you to login into DBMAN.

Regards,

Eliot Lee
Quote Reply
Re: default login In reply to
Actually, no.
With $auth_allow_default = 1; it logs in as guest since $auth_allow_default = 1;

P.S. for better resolution, please reference my NEW POST dated today titled "Logging in via URL"

Quote Reply
Re: default login In reply to
Ah...yes...if you go directly to db.cgi without parameters assigned, you WILL be able to login, trust me!

Regards,

Eliot Lee