[NTLUG:Discuss] OT: mod_auth_mysql

Jack Snodgrass jack+ntlug at mylinuxguy.net
Mon Mar 31 20:11:11 CST 2003


> This is my mysql user_auth table:
> fields: comp_uid        password        (comp_uid is PRIMARY)
> values: username

I got it to work on my box. 

The readme I have on mod_auth_mysql ( mine is a bit different...
it uses AuthMySQLGroupField instead of Auth_MySQL_Group_Field..... ) 
says:

"If you have a separate database for groups, the two tables would be

user_info: user_name, user_passwd (user_name must be PRIMARY KEY)
user_group: user_name, user_group (user is not PRIMARY KEY, as we have
        multiple tuples for user_name,user_group to let a user be in  
        multiple groups)"

you have "comp_uid is PRIMARY" on the usertable. 

don't know if that's your problem or not. I don't see anything else
that would be a problem. 

jack






More information about the Discuss mailing list