how i can check if password is not correct ?

2013-03-30 Thread Mehdi Ravanbakhsh
Hi All if password in request is not correct wich module handele this and reject the client? where i can check if password is not correct ? and what the module return when password is not match ? Best regards. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how i can check if password is not correct ?

2013-03-30 Thread Russell Mike
Debian, Ubuntu: freeradius -XXX Redhat CentOS: radiusd -XXX Thank / RM -- On Sat, Mar 30, 2013 at 9:12 AM, Mehdi Ravanbakhsh baba...@gmail.comwrote: Hi All if password in request is not correct wich module handele this and reject the client? where i can check if password is not correct

Re: how i can check if password is not correct ?

2013-03-30 Thread Mehdi Ravanbakhsh
what is that mean! i do not thinks my question related to run freeradius in debug mod. i google and find the way i need , it may be useful for others : Auth-Type CHAP { chap { reject = 1 } if (reject) { update control { Auth-Type := Accept Pool-Name := Badpassword } ok } } best regards.

change Group-Name in unlang

2013-03-30 Thread Mehdi Ravanbakhsh
I can change Pool-Name in unlang after if condition but if i use Group-Name for change the group of user it not work !!! in authorize { sql if (notfound) { update control { Auth-Type := Accept Group-Name := Bad-User } } In rad group check table i define Bad-User := Pool-Name

Re: change Group-Name in unlang

2013-03-30 Thread Alan DeKok
Mehdi Ravanbakhsh wrote: I can change Pool-Name in unlang after if condition but if i use Group-Name for change the group of user it not work !!! Group and Group-Name do checks in the unix /etc/groups file. You CANNOT re-write them. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: change Group-Name in unlang

2013-03-30 Thread Mehdi Ravanbakhsh
can i use Sql-Group in unlang? i use sql module and in sql database i can relate user to group, can i change user group in unlang ? On Sat, Mar 30, 2013 at 8:58 PM, Alan DeKok al...@deployingradius.comwrote: Mehdi Ravanbakhsh wrote: I can change Pool-Name in unlang after if condition but if

Re: change Group-Name in unlang

2013-03-30 Thread Mehdi Ravanbakhsh
Can i use : sql if (notfound) { update control { Auth-Type := Accept User-Profile = Bad-User-Profile } } is User-Profile is changeable in unlang or i just can change Pool name by : Pool-Name := Bad-User-Pool Best regards. On Sat, Mar 30, 2013 at 9:14 PM, Mehdi Ravanbakhsh