[sr-dev] git:master: auth: added new error code to auth API

Juha Heinanen jh at tutpro.com
Tue Nov 15 03:00:45 CET 2011


Daniel-Constantin Mierla writes:

> auth: added new error code to auth API
> 
> - AUTH_USER_MISMATCH = -8 -- to be returned when auth user mistmach
>   from/to header user

daniel,

is this addition backwards compatible with current auth_db, i.e., is the
check on by default?

i don't like it to be on by default, since in very common use cases,
from/to uri userpart does not match authentication username.  for
example, from/to userpart could be an e.164 number +something, when auth
username could be a name.

-- juha



More information about the sr-dev mailing list