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
x-apple-data-detectors://4/ 5801 Smith Ave.
Davis Building x-apple-data-detectors://4/ Suite 3110B
x-apple-data-detectors://5/0 Baltimore, MD 21209
Phone: tel:667-208-6309 667-208-6309
E-mail: mailto:eweintra@jhmi.edu eweintra@jhmi.edu