[Serusers] Digest Authentification pb
Jan Janak
jan at iptel.org
Thu Nov 25 21:38:00 CET 2004
My guess is that you have wrong realm in the string in HA1 column. You
can use calc_ha1 utility to generate HA1 string with realm 192.168.3.1,
then compare the string you get with the string in subscriber table --
they should be the same.
Jan.
On 24-11 18:28, Nicolas Fauvel wrote:
> Hi,
>
> I have a problem with the digest authentification: here is my ser.cfg:
>
> _________________________________________________
> modparam("usrloc", "db_mode", 2)
> modparam("auth", "password_column", "HA1")
> modparam("auth", "password_column_2", "ha1b")
>
> .....
> if (method=="REGISTER") {
> if (!www_authorize("192.168.3.1", "subscriber")) {
> www_challenge("192.168.3.1", "1");
> break;
> };
>
> save("location");
> break;
> };
> ..............
> ________________________________________________
>
> Here are the server auth. request:
>
> WWW-Authenticate: Digest realm="192.168.3.1",
> nonce="41a4bc4b000000005991791bfd119f83463ba82e93c3e1cc", qop="auth",
> algorithm=MD5
>
>
> and the client reply:
>
> Authorization: Digest username="nico",realm="192.168.3.1",
> nonce="41a4bc4b000000005991791bfd119f83463ba82e93c3e1cc",
> response="469f787618a743f08dd6e8768df3173f",uri="sip:192.168.3.1",
> algorithm=MD5,qop=auth,cnonce="A8858AF297CE4CE5AC94ADE4467C8A9B",nc=00000134
> ______________________________________________________
>
> Please !!! helpme, I've spent 2 days on it and... nothing !
>
> Thanks
>
>
>
>
>
>
> Vous manquez despace pour stocker vos mails ?
> Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
>
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list