22 Jul
2006
22 Jul
'06
5:42 a.m.
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?