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

slapo-rwm intercept and maasage an attribute?



Hi,

Following on from SASL/EXOP password related issues, I'd like to try something.

When an EXOP PASS MOD happens, I'd like to catch it before it updates userPassword: in the hdb backend and chance the data to

{SASL}<uid>@FIXED.REALM.NAME

I've been through the slapo-rwm man page several times and all over google and I'm more confused that I was to start with.

Could anyone give me a hint please?

2 problems:

What context does this update happen in? Is it a
exopPasswdDN context or a modifyAttrDN context? Bearing in mind I want to catch where the Password Modify EXOP goes to write the userPassword entry.

How do I pull the uid of the current bind doing the password change? I'm guessing it is a $ parameter defref, but I do not see any examples?

Many thanks,

Tim

BTW, if there's a better mailing list for "user" questions I'll happily bugger off there :)
--
Tim Watts
Personal Blog: http://www.dionic.net/tim/

"It would be better to live under robber barons than under omnipotent
moral busybodies."