Is there a way to reference the remote IP (I’m assuming that’s in peername based on ACL’s) in configuration directives?
I.e. I’d like to do the following:
overlay rwm
rwm-rewriteEngine on
rwm-rewriteParam remoteip {peername}
rwm-rewriteContext bindDN
rwm-rewriteRule "^(.+,)?dc=mfa$" "$1dc=${$remoteip},dc=mfa" ":@"
And have the DN for the bind look like uid=user,dc=127.0.0.1,dc=mfa instead of uid=user,dc=mfa
Is that possible?
-Etan E. Weintraub
Information Security Architect
IT@Johns Hopkins
Johns Hopkins at Mt. Washington
Davis Building Suite 3110B
Phone: 667-208-6309
E-mail: eweintra@jhmi.edu