rlm_sql patch for stripping NT domains from username

2003-02-21 Thread Doug Yeager
*** rlm_sql.c.orig  Fri Feb 21 06:53:52 2003 --- rlm_sql.c Fri Feb 21 06:54:02 2003 *** *** 224,229 --- 224,283       *out = '\0';       return len;   } + + /* +  *  strip and translate usernames. +  */ + static int stripMSdomain_escape_func(char *

changing source code for Crypt-Password

2003-01-30 Thread Doug Yeager
o.k., I’ve successfully tested the Crypt-Password Attribute w/ my mysql database encrypting peoples passwords with mysql function encrypt(‘pass’)   Somehow, freeradius sources for crypt-password must match mysql encrypt.   The problem I have is that I have a list of md5 passwords I’d l

mysql radcheck field syntax

2003-01-28 Thread Doug Yeager
This is an easy one: I want to add a user to mysql. Can someone tell me the right values for the attribute and op field? I'm just trying to test to see if I can get something simple working. Is this right: Insert into radcheck (username,attribute,value,op) values ('doug','User-Password','testpass