Gossamer Forum
Home : Products : DBMan : Installation :

Permissions/Authentications

Quote Reply
Permissions/Authentications
Hello,

After modifying the settings in the .cfg file to set permissions for access and uploading the file, I point to: http://viewpointdesign.net/...i?db=vrd&uid=vrd (World View)

At this point, aren't I suppose to see the database search form, verses the logon screen?

I receive a message that reads:
invalid/expired user session

within the login screen dialog box.

My objective is to have the database accessed as follows:

The world: view
Registered User: View, Add, Modify,
Admin: View, Add, Modiy, Delete

I searched the forum and found this thread, in which JPDeni had submitted this answer:


This is not a problem with permissions, if you keep getting the login screen.

On the login screen, do you get a message:
invalid/expired user session?

If so, is your site hosted by 9netave?

If so, in auth.pl, sub auth_cleanup, change

if ((stat("$auth_dir/$file"))[9] + $auth_time < time) {

to

if (((stat("$auth_dir/$file"))[9] + $auth_time + 28800) < time) {

(The server at 9netave has the time set strangely.)

If this isn't your problem, we'll have to do a lot more looking.



Even though this client site is not located at: 9netave I changed the line referenced above anyways just to see if it might make a difference, it did not.

I am wondering if I need to make modifications elsewhere in other files to reflect the database name change, as well the other main DBMan files? I honestly do not remember making any changes to uid but I have found reference to it in auth.pl and db.cgi. Am I on the right track?

I have posted my current .cfg file (the authentication module) at: http://viewpointdesign.net/proofs/proofs/vrd_cfg.txt


I would appreciate if someone might take a look and advise me as to what might wrong. I will continue to search and read again the tutorial. It may be that I have not correctly understood.

Best Regards,

Kim Lanners


Software Made Easy
http://sme-net.com
Quote Reply
Re: Permissions/Authentications In reply to
Hello,

I apologize for wasting bandwith with my last post. I realized that I was using 'uid=vrd' (The database name) verses 'uid=guest' which is the logon for 'View Only'.

Thank you for your time.

Best Regards,

Kim Lanners


Software Made Easy
http://sme-net.com
Quote Reply
Re: Permissions/Authentications In reply to
The better "user" to use for viewing the database without logging in is default.

Code:

uid=default


Regards,

Eliot