Kostas Kalevras wrote:


The other idea is to use attr_rewrite as already suggested. In any case, make sure that the files module comes before ldap in the authorize section for the above to work.


attr_rewrite works but breaks EAP for me :(


I've reattempted using the users file again, and double checked that files does indeed come before the ldap sections in the authorize section - still get a blank filter.

A debug run shows that files is indeed getting processed, somehow 'Hint' is never getting set. Could my regex be wrong ?


DEFAULT User-Name =~ "^([^/]+)/(.*)", Hint := `%{2}` Fall-Through = yes

Thanks,
Craig


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to