[Date Prev][Date Next] [Chronological] [Thread] [Top]

rwm - send in peername?



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

5801 Smith Ave.

Davis Building Suite 3110B

Baltimore, MD 21209

Phone: 667-208-6309

E-mail: eweintra@jhmi.edu

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature