I have just setup a DBman SQL. When I test it, I found I can login successfully use an username and pwd which do not exist (for example: a random usename and pwd). How about your DBman? Do I setup it correctly?
Jun 2, 2000, 5:26 PM
Administrator (9387 posts)
Jun 2, 2000, 5:26 PM
Post #3 of 7
Views: 3176
This is definately not normal. I've never seen this before, can you email me login info so I can take a look?
The only thing I can think of is if you are running under .htaccess and that directory is password protected, DBMan SQL will try and use that user to log you on automatically.
Cheers,
Alex
--
Gossamer Threads Inc.
The only thing I can think of is if you are running under .htaccess and that directory is password protected, DBMan SQL will try and use that user to log you on automatically.
Cheers,
Alex
--
Gossamer Threads Inc.
Jun 2, 2000, 8:20 PM
Novice (31 posts)
Jun 2, 2000, 8:20 PM
Post #4 of 7
Views: 3169
> can you email me login info so I can take a look
The program is installed in my Intranet now. So you can not login to our system.
>you are running under .htaccess and that directory is password protected
No
But I have double check it. Below is what I have done, I think you can repeat it.
1. download DBman SQL
2. modify db.cfg:
CHANGE $db_script_url = "http://penguin/alex/dbman-sql/db.cgi";
TO $db_script_url = " http://www.intranet/test/db.cgi";
CHANGE @db_connect = ("DBI:mysql:test", "root", "root");
TO @db_connect = ("DBI:mysql:test", "test", "");
CHANGE $auth_allow_default = 1;
TO $auth_allow_default = 0;
CHANGE $auth_logoff = "http://www.gossamer-threads.com/";
TO $auth_logoff = "http://www.intranet/test/db.cgi";
3. upload all files and set correct permision, setup mysql user
4. run nph-setup.cgi from browser, and it tell all ok.
5. go to login form, But you can login with any username and password. Although he has no permision (only main and logoff option in menu), he did login! Is this normal? I think he should be told incorrect username and pwd. Do I miss anything?
The program is installed in my Intranet now. So you can not login to our system.
>you are running under .htaccess and that directory is password protected
No
But I have double check it. Below is what I have done, I think you can repeat it.
1. download DBman SQL
2. modify db.cfg:
CHANGE $db_script_url = "http://penguin/alex/dbman-sql/db.cgi";
TO $db_script_url = " http://www.intranet/test/db.cgi";
CHANGE @db_connect = ("DBI:mysql:test", "root", "root");
TO @db_connect = ("DBI:mysql:test", "test", "");
CHANGE $auth_allow_default = 1;
TO $auth_allow_default = 0;
CHANGE $auth_logoff = "http://www.gossamer-threads.com/";
TO $auth_logoff = "http://www.intranet/test/db.cgi";
3. upload all files and set correct permision, setup mysql user
4. run nph-setup.cgi from browser, and it tell all ok.
5. go to login form, But you can login with any username and password. Although he has no permision (only main and logoff option in menu), he did login! Is this normal? I think he should be told incorrect username and pwd. Do I miss anything?
I, too, am having the same problems. I just switched my database to the SQL version (made it active yesterday) and am already being inundated with folks wondering why they have no access to anything. If they login with the correct username and password, but get the case sensitivity of the username wrong (I have my user db set up to be case sensitive), that will also log them in but with no permissions. Has anyone come up with a solution for this?
Thanks!
Melanie
http://www.somemoorecats.com/
http://www.okhima.org/
Thanks!
Melanie
http://www.somemoorecats.com/
http://www.okhima.org/
Nevermind.....I think I've got it fixed. Here's the solution if anyone else still has this problem:
Find this section in auth.pl (sub auth_check_password), and add the items in red
Melanie
http://www.somemoorecats.com/
http://www.okhima.org/
Find this section in auth.pl (sub auth_check_password), and add the items in red
Melanie
http://www.somemoorecats.com/
http://www.okhima.org/