On Wed, 25 Sep 2002, Alberto Pereira wrote:

> Hi,
> 
> How can I configure a group in mysql to reject the auth package?
> Like on the users file:
> 
> DEFAULT Group = emailonly,  Auth-Type = Reject
> 
> I tried something like:
> 
> mysql> select * from radgroupreply where GroupName = "reject";
> +----+-----------+-----------+--------+------+------+
> | id | GroupName | Attribute | Value  | op   | prio |
> +----+-----------+-----------+--------+------+------+
> |  8 | reject    | Auth-Type | Reject | NULL |    0 |
> +----+-----------+-----------+--------+------+------+
> 
> And put the users in this group, but this don�t work.
> 

Try adding the following to radgroupcheck:

insert into radgroupcheck values ('','reject','Auth-Type','Reject',':=');

and remove the entry you mentioned above from the radgroupreply.  Make sure 
your users that you want to reject are in the group reject listed in 
usergroup table and it should work.  I have tested it here....

-----------------------------------------------
"I have not failed. I've just found 10,000 ways
that won't work." - Thomas Edison

Michael Hendrix           [EMAIL PROTECTED]
Systems Engineer / SysAdmin Team Leader
Logical Net / Capital Net (518) 292-4509


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to