-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Staff, I configured initially the FreeRadius and the OpenLDAP and
everything are ok, as it shows the test below,

vpn# radtest fulano "123456" localhost 2 blablabla
Sending Access-Request of id 105 to 127.0.0.1 port 1812
        User-Name = "fulano"
        User-Password = "123456"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 2
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=105, length=29
        Filter-Id = "fulano"

But when I make a test with windows pra to legalize in mpd, it says
password
invalidates, below a stretch of log:

Jul  2 18:29:29 jabber mpd: [pptp] RADIUS: using
/usr/local/etc/raddb/radiusd.conf
Jul  2 18:29:29 jabber mpd:  Peer name: "fulano"
Jul  2 18:29:29 jabber mpd: mpd: fopen(/usr/local/etc/mpd/mpd.secret):
No such file or directory
Jul  2 18:29:29 jabber mpd: mpd: can't open file
"/usr/local/etc/mpd/mpd.secret"
Jul  2 18:29:29 jabber mpd:  Can't get credentials for "fulano"
Jul  2 18:29:29 jabber mpd: [pptp] CHAP: sending FAILURE
Jul  2 18:29:29 jabber mpd: [pptp] LCP: authorization failed
Jul  2 18:29:29 jabber mpd: [pptp] device: CLOSE event in state UP

My configuration mpd.conf is:

default:
          load pptp

pptp:
          new -i ng0 pptp pptp
          set iface disable on-demand
          set iface enable proxy-arp
          set iface idle 1800
          set iface enable tcpmssfix
          set bundle enable multilink
          load radius
          set link yes acfcomp protocomp
          set link no pap chap
          set link enable chap
          set link keep-alive 10 60
          set link mtu 1460
          set ipcp yes vjcomp
          set ipcp ranges 121.1.254.2/32 192.168.254.253/32
          set ipcp dns 200.1.2.3
          set bundle enable compression
          set ccp yes mppc
          set ccp yes mpp-e40
          set ccp yes mpp-e128
          set ccp yes mpp-stateless
          set pptp enable incoming
          set pptp disable originate
radius:
          set radius server 127.0.0.1 123 1812 1813
          set radius timeout 10
          set radius config /usr/local/etc/raddb/radiusd.conf
          set radius retries 3
          set bundle enable radius-auth
          set bundle enable radius-fallback
          set ipcp yes radius-ip


Some ideas?
Thx
          log radius

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGinyzbjyCr4Ixg0wRAorsAJ0TxXPIYe0LVMnF1NIyypAvTcv03gCeOQu6
g6JdxYI5EelexzZFb533RBI=
=hUFy
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mpd-users mailing list
Mpd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mpd-users

Reply via email to