zzOzz / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Guest registration write attributes macros #614

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a write attribute to write an ldap field e.g. displayName
2. Set value to be macro @LDAP:cn@
3. Save and add guest user

What is the expected output? What do you see instead?

displayName will be set to the cn value.
displayName is set empty instead, more generally, the value of any @LDAP:*@ 
macro is empty.
A workaround is to create hidden fields and populate them with JavaScript (via 
User Interface).

What version of PWM are you using?

1.7.1

What ldap directory and version are you using?

MS AD 2008R2

Original issue reported on code.google.com by mark.a.r...@gmail.com on 21 Oct 2014 at 10:46

GoogleCodeExporter commented 9 years ago
Your workaround is the only working option. @LDAP:*@ does not work, since the 
account does not live in LDAP yet when the macro is called.

Original comment by menno.pi...@gmail.com on 21 Oct 2014 at 11:00