Gossamer Forum
Home : Products : DBMan : Installation :

authentication problem

Quote Reply
authentication problem
Hi, I have set up DBMan using multiple databases and using authentication but with default users allowed.

Everything works fine for default users, but when I login in as admin I get the screen showing I have add, view, modify etc permissions but all the links lead to Error unauthorised.

Even if I turn authentication off and reset the default user permissions to 1,1,1,1,1 it still gives the same error.

I have checked all my file permissions and permission settings in the cfg files over and over as well as looking for similar threads but I am just not getting anywhere.

Any ideas please?

PS in fact I have now managed to get access turning authentication off and setting the default user to 1,1,1,1,1 but still no joy with authentication on. I really want to be able to limit modifying to access via login

Last edited by:

smart: Apr 30, 2002, 9:35 AM
Quote Reply
Re: [smart] authentication problem In reply to
quote:
I really want to be able to limit modifying to access via login

Then you should set: $auth_no_authentication = 0;

and set the permissions for both default and registered users within each .cfg file. Are you including a userid field in your databases?

As part of JPDeni's excellent DBMan tutorial there is a section on setting permissions, using a chart showing various configurations. I think this may help you with setting up the various databases for the permissions allowed for each.

http://www.jpdeni.com/dbman/


When linking between databases don't forget to use:

As stated in the notes for using the relational database:

$db_script_link_url

instead of:

$db_script_url?db=database name&uid=$db_uid

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/