14 Nov
2018
14 Nov
'18
11:42 a.m.
I have the following 'update reply' foreach &reply:memberOf { update reply { Class += "%{Foreach-Variable-0}" } } which adds a list of groups from active directory as distinguished names eg. CN=pod-admin,OU=Groups,OU=directory,DC=directory,DC=local but I need it to add to Class as CN=pod-admin/OU=Groups/OU=directory/DC=directory/DC=local Is there anyway to do this? I was thinking of maybe passing it to a module that would rewrite it "%{module: Foreach-Variable-0}" but no idea how to do that.