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

Re: rwm and sasl authz

On Friday 25 July 2008 12:56:08 Pierangelo Masarati wrote:
> Well, authz-regexp uses exactly the same utility of slapo-rwm.  However,
> the two rewrites belong to independent sessions.  Probably, slapd should
> allow cross-session variable population to yield the capability you're
> looking for.  This requires some work at the librewrite level.  Please file
> an ITS for a feature request in this sense.

Perhaps an alternative solution instead of cross-session variables would be to 
first make sasl_authz_regexp use a session based on the connection and then 
make slapo-rwm aware of the sasl_rwinfo structure in a way that slapo-rwm 
would use the same session as sasl_authz_regexp per connection and the 
session variables would be shared. If that's a possibility I could file an 
ITS for a feature request mentioning both solutions.