Thanks Phil, Suspected as much, I've checked the previous Samba mailing lists but can't see much, I'll give it a go anyway, posted here as it may have been a common issue, or someone may have jumped up and said "highly experimental feature X/ *libwbclient?* fixes that".. Thanks again Andy
Anything inside the EAP tunnel doesn't like you playing with the username though, so we can't do UPN based MSCHAPv2 lookup - UPN format doesn't work, as far as I can tell, with the ntlm_auth program and I can't update the username. I can force the mschap auth process to use an alternative user name, but the hash then doesn't work, and I can't work out how to update the mschap:user-name. All this is
Altering the in-packet username or the username on the ntlm_auth command line is futile; as you've indicated, the client does the crypto on the basis of the UPN, and that's what you need to pass to ntlm_auth so that it can be in turn passed to the DC and mixed into the chal/resp verification/calculation correctly. I was under the impression that ntlm_auth should work with a UPN where LHS != samaccountname, but it's really a Samba question - I'd suggest asking on the Samba list. I don't have any easy way to test locally I'm afraid. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Fri, Nov 27, 2015 at 10:25:57AM +0000, Franks Andy (IT Technical Architecture Manager) wrote:
jumped up and said "highly experimental feature X/ *libwbclient?* fixes that"..
No different from ntlm_auth in that regard, I'm afraid. Both of them pass the username/challenge-response over the winbind socket in the same way. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hi, dont use User-Name - you cant play with that..instead either work on the stripped-user-name or create your own attribute locally and use that on the ntlm_auth line what you need to do is some regex to turn the current User-Name, or stripped-user-name that has already dealt with the realm part giving you just the stripped name.... into the format you need for it to match the saMAccountname perhaps some people should have been made aware of all this in some form of change management process before the AD was messed around with? FreeRADIUS will let you do what you want using regex and recombining the results of the regex into the format you want..... but external systems like Office365...well, they will probably be a big headache if you migrate to them alan
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Franks Andy (IT Technical Architecture Manager) -
Matthew Newton