New User Action to write LDAP attribute does not work

179 views
Skip to first unread message

Silvio Arcangeli

unread,
Jul 29, 2014, 6:03:17 PM7/29/14
to pwm-g...@googlegroups.com
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

Silvio Arcangeli

unread,
Aug 18, 2014, 5:24:50 AM8/18/14
to pwm-g...@googlegroups.com
hi guys,
sorry to rethrow this one, I'm still struggling with this issue and couldn't get the LDAP macros to work properly.
Anybody has a clue on how I could troubleshoot this further?

thanks,
Silvio

Menno Pieters

unread,
Aug 18, 2014, 7:40:31 AM8/18/14
to pwm-g...@googlegroups.com
The LDAP attributes are not yet available at this stage. You may want to try a nightly build. Some improvements have been implemented.

- Menno


--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwm-general...@googlegroups.com.
To post to this group, send email to pwm-g...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/18312b82-c225-49ee-9703-a2b5b419c3cd%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Silvio Arcangeli

unread,
Aug 18, 2014, 8:03:40 AM8/18/14
to pwm-g...@googlegroups.com
ok, thanks.
any idea on when they will be released?

thanks,
Silvio


--
You received this message because you are subscribed to a topic in the Google Groups "pwm-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pwm-general/yOWF7brMxLY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pwm-general...@googlegroups.com.

To post to this group, send email to pwm-g...@googlegroups.com.

Menno Pieters

unread,
Aug 18, 2014, 8:14:24 AM8/18/14
to pwm-g...@googlegroups.com
It will be released when it's (considered) ready..., which it currently is not. Contributing code and documentation and performing tests may help speeding up this process.

- Menno


Reply all
Reply to author
Forward
0 new messages