[Serusers] Windows Messenger authentication fails.

Jiri Kuthan jiri at iptel.org
Fri Jan 31 23:00:48 CET 2003


At 01:30 PM 1/31/2003, Ivan Vignola wrote:
>Hi,
>I have successfully (I think that) installed SER server with ser-mysql package.
>I have set the environment variable 'SIP_DOMAIN="192.168.11.237"' (that is server IP address).
>I have succesfully added a user to subscriber table: 'serctl add ivan ivanpswd ivan at hotmail.com', but registering WM to server fails:
>URI = 'ivan at 192.168.11.237'
>Passwowd = 'ivanpswd'
>User = 'ivan'
>
>This is my ser.cfg file:
>
>                        if (!www_authorize("192.168.11.237", "subscriber")) {
>                        if (!proxy_authorize("192.168.11.237", "subscriber")) {
>                                www_challenge("engiweb.org", "0");
>                                break;
>                        };

this is probably where the trouble lives. I'm too coffeinized now to see quickly what is
the exaxct problem reason but two things seem strange to me:
- you challenge with a different realm ("engiweb") than you verify ("192...")
- the way how you compose ser actions is not easy to understand ... www_authorize's
  '{' is matched by '}' behind save and before lookup. I guess that if www_authorize
  returns true (credentials are ok) a REGISTER is not saved but looked up, which is
  what you probably do not want to do.
 

-jiri 




More information about the sr-users mailing list