[SR-Users] Selective load_credentials in auth_db

Alex Balashov abalashov at evaristesys.com
Wed Dec 11 11:33:23 CET 2013


On 12/11/2013 05:31 AM, Alex Balashov wrote:
> I have some extra columns to load from the 'subscriber' table':
>
>     modparam("auth_db", "load_credentials",
>        "$avp(s:fruit_id)=fruit_id");
>
> Is there any way to get auth_db to only load this column for one realm
> and not another?  I use multiple realms (tables) and one of them doesn't
> have this column.

Well, I guess in the terminology of the documentation, I meant "domain":

    	if(!auth_check("$td", "thedomain", "1")) {

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list