[sr-dev] where is s proxy_challenge function?

Juha Heinanen jh at tutpro.com
Thu Jul 1 18:19:10 CEST 2010


since people seemed to agree that s auth module is superior to k one, i
decided to try porting k auth_radius module to use s auth api and was
able to compile and build it against s auth api.

when testing the result, i get errors about "unknown command, missing
loadmodule" when script has proxy_challenge() call.

i then went and checked s auth module and found this in README:

1.4.2. proxy_challenge(realm, qop)

   The function challenges a user agent. ...

however, auth_mod.c does not include such function:

/*
 * Exported functions
 */
static cmd_export_t cmds[] = {
    {"consume_credentials", consume_credentials,     0, 0, REQUEST_ROUTE},
    {"bind_auth_s",           (cmd_function)bind_auth_s, 0, 0, 0        },
    {0, 0, 0, 0, 0}
};

i don't find it even with grep on s modules.  where is it?

-- juha




More information about the sr-dev mailing list