[jadmin] realm missing from pam radius access request

Juha Heinanen jh at tutpro.com
Tue Oct 3 04:27:14 CDT 2006


i tried to make jabberd2 authenticate using pam with radius backend.
radius server gets access request without realm in User-Name:

        User-Name = "jh"
        User-Password = "xxxxxx"
        NAS-IP-Address = yyy.yyy.yyy.yyy
        NAS-Identifier = "jabberd"
        NAS-Port = 24489
        NAS-Port-Type = Virtual
        Service-Type = Authenticate-Only

even when i have configured <id realm='test.fi'>test.fi</id> in
local section of c2s.xml.

i have tried this with both gaim and emacs jabber clients where i have
configured username = 'jh' and server='test.fi'.  neither allowed me to
configure realm.

in syslog i get debug output:

Oct  3 11:45:29 rautu jabberd/c2s[13511]: pam_radius_auth: Got user name jh

which sort of lets me understand that jabberd didn't include realm in
username.

does anyone know if there is way to get realm included in radius access
request from jabberd/pam-radius-auth?

-- juha



More information about the JAdmin mailing list