Prev: Epson Stylus SX110 under Debian Lenny?
Next: Working network connectivity, not working DNS resolutions
From: Sjoerd Hardeman on 25 Mar 2010 10:40 Mirko Scurk schreef: > Hi! > > On Lenny need to setup pptpd + radius for windows clients. Studied couple > of howtos but all seem to be incomplete or to complicated. That's because it is rather complicated. > > Linux 2.6.26-2-686-bigmem > libradiusclient-ng2 0.5.5-1 > pptpd 1.3.4-2.1 > freeradius 2.1.3-0lenny0 > > (conffiles) What is exactly your question? I assume it is not working. Is radius itself working? Try radtest for that. Then, make sure you offer the passwords in the right format. pptp requires the nt and lanman windows hash, which is not trivial to achieve. If you offer the passowrd to the radiusserver in clear text then radius should convert, if if you give it any hashed value it will not work. In that case you need to store the nt/lm-hashed version as well. smbpasswd can generate the proper hash, and for ldap you can install an overlay that automatically generates the nt/lm hash when you update the password. If that's all working, set up pptp to do as much debug as possible (both pptp debug and ppp debug on) and try to log in. The logs should give you a clue of what's working and what not. Good luck! Sjoerd |