grealish / pwm

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

LDAP Macros ignored in display text #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Edit configuration to modify Display_RecoverEnterCode, add @LDAP:DN@ to the 
text
2.Follow the password recovery wizard

What is the expected output? What do you see instead?
What I want to achieve is to include in the text the email address where the 
code was sent, and I have that address in the directory.
I expect that the display text include the LDAP attribute as requested in the 
Macro. Instead, the display text has the Macro substituted by the empty string.

What version of PWM are you using?
v1.6.5 b1192

What ldap directory and version are you using?
openldap 2.4.23

Original issue reported on code.google.com by erapetti on 31 Oct 2012 at 9:31

GoogleCodeExporter commented 9 years ago
This is working as designed.  Until the user is authenticated, the user data is 
not available to the PwmMacro engine for expansion.

Original comment by jrivard on 31 Oct 2012 at 10:49