Have done a bit of work on rlm_pap and added the ability to pass the username/password through to AD via winbind, complementing the code in rlm_mschap and replacing the need for mods-available/ntlm_auth.
Oh that's *nice*!
rlm_mschap isn't the best place for this, and it doesn't seem entirely fitting with rlm_pap either, so if anyone's got suggestions for a better place for it then shout...
As per Alan and Arran, probably best if it's a separate module. At least then it's very clear what to call when. :-) Stefan Paetow Moonshot Industry & Research Liaison Coordinator t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@jabber.dev.ja.net skype: stefan.paetow.janet jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.