Hi,
I've added a new column to subscriber, int not null default '0'
using this scheme:
modparam("avpops","avp_aliases","acl=i:800")
modparam("avpops","db_scheme",
"scheme0:username_col=username;domain_col=domain;value_col=acl;value_type=integer;table=subscriber")
When I try to load values,
if (!avp_db_load("$from","$acl/$scheme0")){
xlog("L_ERR","No ACL...");
sl_send_reply("403","Forbidden - No ACL");
return;
};
I get:
ERROR:avpops:dbrow2avp: empty or wrong type for 'value' using scheme
--
mvh/best regards
Helge Waastad
System Engineer
Smartnet