newbiie
Khapare Joshi
khapare77 at gmail.com
Fri Apr 27 18:48:04 CEST 2012
Hi again,
Just back to work desk now. I created the few users in /etc/radd/users as
test Cleartext-Password := "test"
i think radius and pptp are talking together now, but when i connect to vpn
server from windows machine it looks authentication is working - however it
doesnt get connected "it says registering your comptuer on the network" and
returns back.
What I am missing here.
radiusd -X shows :
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
[mschap] Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
++[mschap] returns ok
++[digest] returns noop
[suffix] No '@' in User-Name = "test", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[files] users: Matched entry test at line 86
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = MSCHAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group MS-CHAP {...}
[mschap] Creating challenge hash with username: test
[mschap] Told to do MS-CHAPv2 for test with NT-Password
[mschap] adding MS-CHAPv2 MPPE keys
++[mschap] returns ok
# Executing section post-auth from file /etc/raddb/sites-enabled/default
+- entering group post-auth {...}
++[exec] returns noop
Sending Access-Accept of id 159 to 127.0.0.1 port 39790
MS-CHAP2-Success =
0x4b533d35354641314645323332413231374238393043324335444342423933414244353038354638393531
MS-MPPE-Recv-Key = 0xdb929bd8753a3ae7ef0507710c972c0d
MS-MPPE-Send-Key = 0xc58388c594a7e04d37a55da209b2d8f3
MS-MPPE-Encryption-Policy = 0x00000002
MS-MPPE-Encryption-Types = 0x00000004
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 159 with timestamp +5
Ready to process requests.
And pptpd logs shows :
Apr 27 16:40:29 ioj-d00 pptpd[2868]: CTRL: Client 192.168.1.50 control
connection started
Apr 27 16:40:29 ioj-d00 pptpd[2868]: CTRL: Starting call (launching pppd,
opening GRE)
Apr 27 16:40:29 ioj-d00 pppd[2869]: Plugin radius.so loaded.
Apr 27 16:40:29 ioj-d00 pppd[2869]: RADIUS plugin initialized.
Apr 27 16:40:29 ioj-d00 pppd[2869]: Plugin radattr.so loaded.
Apr 27 16:40:29 ioj-d00 pppd[2869]: RADATTR plugin initialized.
Apr 27 16:40:29 ioj-d00 pppd[2869]: Plugin
/usr/lib64/pptpd/pptpd-logwtmp.so loaded.
Apr 27 16:40:29 ioj-d00 pppd[2869]: pppd 2.4.5 started by root, uid 0
Apr 27 16:40:29 ioj-d00 pppd[2869]: Using interface ppp0
Apr 27 16:40:29 ioj-d00 pppd[2869]: Connect: ppp0 <--> /dev/pts/3
Apr 27 16:40:32 ioj-d00 pptpd[2868]: CTRL: Ignored a SET LINK INFO packet
with real ACCMs!
Apr 27 16:40:32 ioj-d00 pppd[2869]: MPPE 128-bit stateless compression
enabled
Apr 27 16:40:33 ioj-d00 pppd[2869]: LCP terminated by peer
(^@M-h^NM-^Z^@<M-Mt^@^@^@^@)
Apr 27 16:40:33 ioj-d00 pppd[2869]: Modem hangup
Apr 27 16:40:33 ioj-d00 pppd[2869]: Connection terminated.
Apr 27 16:40:33 ioj-d00 pppd[2869]: Connect time 0.1 minutes.
Apr 27 16:40:33 ioj-d00 pppd[2869]: Sent 70 bytes, received 138 bytes.
Apr 27 16:40:33 ioj-d00 pppd[2869]: Exit.
Apr 27 16:40:33 ioj-d00 pptpd[2868]: CTRL: Client 130.208.107.121 control
connection finished
what i am missing !!
Have a good weekend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120427/3ea6ba28/attachment-0001.html>
More information about the Freeradius-Users
mailing list