[SR-Users] negative www_authorize result codes

Juha Heinanen jh at tutpro.com
Wed Nov 9 09:24:55 CET 2011


Daniel-Constantin Mierla writes:

> quick look into the code and the README seems outdated. But there is no 
> -7 return code in auth and auth_db -- return codes are taken from 
> modules/auth/api.h, structure auth_cfg_result_t. Maybe -7 is specific 
> for radius auth function.

daniel,

that is ok, but

       * -6 (nonce reused) - nonce is used more than once;
       * -5 (no credentials) - credentials were not found in request;
       * -4 (stale nonce) - stale nonce;

are useful and if they supported by auth_db modules, they should also be
documented in its README (with whatever error codes are used there).

-- juha



More information about the sr-users mailing list