<br><br><div><span class="gmail_quote">2006/10/7, Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Andris wrote:<br>...<br>> Usernames without whitespaces authorize succesfully. When<br>> run ntlm_auth manal and write usernames like 'user 1' than work. And<br>> i want put a NT group requirment too like a 'Domain Users' ntlm_auth
<br>> string is:<br>><br>> ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key<br>> --domain=%{mschap:NT-Domain} --username=%{mschap:User-Name}<br>> --challenge=%{mschap:Challenge:-00}<br>> --nt-response=%{mschap:NT-Response:-00}"
<br><br> Try using: ntlm_auth = '...', i.e. use single quotes rather than<br>double quotes. The issue appears to be that the User-Name string is<br>expanded *before* the 'exec program' code is being called.<br><br> That means the splitting of the program arguments by spaces is
<br>hitting the space in the username. What *should* happen is that<br>entire string gets sent to the 'exec program' code, which splits the<br>string by spaces, and *then* expands User-Name.<br><br> Alan DeKok.<br>--<br>
<a href="http://deployingradius.com">http://deployingradius.com</a> - The web site of the book<br> <a href="http://deployingradius.com/blog/">http://deployingradius.com/blog/</a> - The blog<br>-<br>List info/subscribe/unsubscribe? See
<a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></blockquote><div><br>I tryied sigle quotes, but some problem. :(<br></div><br></div><span class="q"> ntlm_auth = '/usr/bin/ntlm_auth --request-nt-key
<br> --domain=%{mschap:NT-Domain} --username=%{mschap:User-Name}<br> --challenge=%{mschap:Challenge:-00}<br> --nt-response=%{mschap:NT-Response:-00}'</span>