Phil Mayers wrote:
If you could describe more precisely what you're trying to do I may be able to give a more specific answer.
Actually I've just had a quick look at your earlier email and it's a bit clearer what you want to do - take NT groups from AD via LDAP, send them to your Aruba after stripping the name from cn=<name>,ou=path and have it process them - correct? You could do this: ldap.attrmap: # append memberOf to radius reply as Whatever-Attribute replyItem Whatever-Attribute memberOf += radiusd.conf: modules { # bulk of modules, then ldap { # ldap config } # chop end off attr_rewrite stripGroupDn1 { attribute = Whatever-Attribute searchin = reply searchfor = ",.*" replacewith = "" ignore_case = yes new_attribute = no max_matches = 1 append = no } # chop start off attr_rewrite stripGroupDn2 { attribute = Whatever-Attribute searchin = reply searchfor = "^cn=" replacewith = "" ignore_case = yes new_attribute = no max_matches = 1 append = no } # rest of modules } authorize { preprocess ldap stripGroupDn1 stripGroupDn2 files } # rest of radiusd.conf ...however, you'll need CVS HEAD for the ldap.attrmap 4th item (operator) and for fixes to the extraction of replyItems from LDAP attributes - or the (scantily tested) backport I've just written to 1.1.0 (attached)