On Jan 4, 2008 9:54 AM, Eric Martell <<a href="mailto:workoutexcite@yahoo.com">workoutexcite@yahoo.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ivan,<br>  Actually in the implementation we are going to treat<br>on the website zipcode as a password field. we are<br>asking people to enter username and zipcode which is<br>store in the LDAP Schema.<br><br>In the radius, I am going to receive username
<br>(User-Name) and zipcode ( User-Password). In the ldap<br>module do query<br>filter =<br>"(&(uid=%{Stripped-User-Name:-%{User-Name}})(entitlements=WIFILOC1)(zipcode=%{User-Password}))"<br><br>and depends on the resultset, give access or reject.
<br><br>Please let me know if this clear and any other better<br>way to handle this in radius.</blockquote><div><br>Couldn't you just map zipcode to the password attribute in ldap.attrmap:<br><br>checkItem Cleartext-Password  zipcode
<br><br>you could then exclude the zipcode condition from your ldap filter as FreeRADIUS should do the work.<br></div></div>-- <br>Nicholas Hall<br><a href="mailto:ngharo@gmail.com">ngharo@gmail.com</a><br>262.208.6271