[sr-dev] Bug in www_authorize/challenge functions

Alex Balashov abalashov at evaristesys.com
Thu Oct 7 10:28:05 CEST 2010


On 10/07/2010 04:28 AM, Andrei Pelinescu-Onciul wrote:
> On Oct 07, 2010 at 04:04, Alex Balashov<abalashov at evaristesys.com>  wrote:
>> On 10/07/2010 04:01 AM, Alex Balashov wrote:
>>
> [...]
>>
>> However, www_authorize() still returns -1 (invalid user).  The
>> problem is not entirely solved.  :/
>
>
> That's a documentation problem. The return codes have changes
> (auth_db returns directly the error code of auth).
>
> -1 = authentication error (could be bad credentials, internal error
>       , credentials not found for the givel realm a.s.o)
> -2 = password
> -3 = user unknown

Oh.  Shall I commit a fix for the docs?

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-dev mailing list