Gossamer Forum
Home : Products : DBMan : Installation :

No LOGIN screen in Win2000

Quote Reply
No LOGIN screen in Win2000
I istalled the DBMan in a Win2000 server, and it worked almost fine, but the login screen didnīt show up. I could log as the default user and everything worked , but even if I logged out or reload, I could never see the login screen.

Did anybody have the same problem as me, or can anybody help me please ?

Thank you,
Fabiano Chamone

Quote Reply
Re: No LOGIN screen in Win2000 In reply to
Probably a problem with your variable settings in the default.cfg file. And also, remember for Windows Servers, you need to use the drive letter for the ABSOLUTE PATH in the $db_script_path in the db.cgi file.

Regards,

Eliot Lee
Quote Reply
Re: No LOGIN screen in Win2000 In reply to
You may need to delete the code for server authentication.

Try this. In the auth.pl file, sub auth_check_password, comment out the following line:

my ($server_auth) = $ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'};

(To "comment out" a line, put a # at the beginning of the line.)

In the same file, sub auth_check_permissions, change

Code:

if ($ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'}) {
$username = $ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'};
}
else {
($userid =~ /^([A-Za-z0-9]+)\.\d+$/) ? ($username = $1) : return (0,0,0,0,0);
}
to

Code:

# if ($ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'}) {
# $username = $ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'};
# }
# else {
($userid =~ /^([A-Za-z0-9]+)\.\d+$/) ? ($username = $1) : return (0,0,0,0,0);
# }
(You could just delete those lines, rather than commenting them out, but I'm not sure that's your problem, so it's better to be able to undo it easily.)


JPD