Hi, > The thing is, I don't know how many attributes I have. It could be > 1, 4, 10 and not always the same. That's why I want to retrieve from > the database the value, the op and the attribute. ???? just use authorize_group_reply_query and the "groupreply_table = "radgroupreply"" part of sql.conf ? alan