Hello,
I'm trying to configure PWM 1.7.0 to write the displayName of the user each time a new user is created.
I have configured a New User Action of type ldap, with Attribute Name set to "displayName", and Attribute Value set to "@LDAP:givenName@ @LDAP:sn@".
When I create a new user, the givenName and sn attributes are populated correctly, while the displayName is created (meaning that the setting was at least processed), but with a value containing just a space, as if the macros were not evaluated.
In the email that i receive with the configuration change, the macros are not printed:
newUser.writeAttributes=[{"name":"displayName","description":"Set display name","type":"ldap","method":"get","attributeName":"displayName","attributeValue":" "}]
but if I open the configuration again, the value "@LDAP:givenName@ @LDAP:sn@" is there correctly.
I tried configuring the action also on the Update profile module, but the outcome is the same.
Any clue of what I'm mistaking?
thanks,
Silvio