Since 2 Month noone any idea how to do this ? Stripping Username Question *important*
Michael Mitchell
mitchell.michael at bigpond.com
Sat Jul 22 11:42:00 CEST 2006
Hi Armin,
You may be able to use the attr_rewrite module to rewrite the value of the attribute in the authorize section. You can use a regular expression, something like:
search_string = "^([^/]*)/(.*)$"
replace_string = "%{2}$"
You may need to escape some characters (for example the forward slash), you'll have to try it...
Hope that helps.
regards,
Mike
Krämer Armin wrote:
> When a machine authenticates I get the name of the mchine like
> "host/250-IT" and the search String on LDAP is like "host/250-IT".
>
> I nee the searchString at LDAP like 250-IT$. How can I strip away that host/
> and add $ for the search at the LDAP Directory?
>
More information about the Freeradius-Users
mailing list