Hi,

> Can I strip the "idm/something/" somehow?  

sure. a simple strip in the config would work...
or unlang of course.

eg in radiusd.conf

attr_rewrite copy.user-name {
attribute = Stripped-User-Name
new_attribute = yes
searchfor = ""
searchin = packet
replacewith = "%{User-Name}"
}

attr_rewrite remove-junk {
attribute = Stripped-User-Name
searchfor = "/idm\/something\/"
searchin = packet
new_attribute = no
replacewith = ""
}


then in sites-enabled/default  (or usual server) add 

copy.user-name  
remove-junk

in the authorize section alongside prefix, suffix, ntrealm etc

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

Reply via email to