Re: new group in "dialup-admin

2003-07-14 Thread Kostas Kalevras
On Mon, 14 Jul 2003, Truong Manh Cuong wrote:

> May I ask a question about dialup-admin:
>
> This is some code line of group-new
>
> if ($attr_type["$key"] == 'checkItem'){
>
> $table = "$config[sql_groupcheck_table]";
>
> $type = 1;
>
> }
>
> else if ($attr_type["$key"] == 'replyItem'){
>
> $table = "$config[sql_groupreply_table]";
>
> $type = 2;
>
> }
>
> When dies $attr_type[$key] is set value checkItem or replyItem ? in which
> file? I try to find, but couldn't see how the $table is set name == groupcheck
> or groupreply.
>
> Anytime I add new group, it is always added in radgroupreply, not in radgroupcheck. 
> why ?

Take a look at conf/sql.attrmap
Only those attributes defined as checkItem get added in radgroupcheck

>
>
>

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]   National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf

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


new group in "dialup-admin

2003-07-13 Thread Truong Manh Cuong




May I ask a question about dialup-admin:
This is some code line of group-new
if ($attr_type["$key"] == 
'checkItem'){
$table = "$config[sql_groupcheck_table]";
$type = 1;
}
else if ($attr_type["$key"] == 'replyItem'){
$table = "$config[sql_groupreply_table]";
$type = 2;
}
When dies $attr_type[$key] is set value checkItem or replyItem ? in which 
file? I try to find, but couldn't see how the $table is set name == groupcheck 
or groupreply.
Anytime I add new group, it is always added in radgroupreply, not in 
radgroupcheck. why ?