grealish / pwm

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

Config corrupt/invalid because pwm thinks 'cn' is missing #310

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Changed config so that username is not auto generated
2.PWM now reports the config as corrupt/invalid because cn is missing from new 
user registration form - which is not the case.

What is the expected output? What do you see instead?
I expect the user to be validated upon clicking the link. Instead PWM responds 
with message that 'cn' is missing from new user form.

The problem is that my New User Form 'does' in fact has the required 'cn' 
attribute. 

What version of PWM are you using?
pwm_v1.6.4

What ldap directory and version are you using?
OpenLDAP 2.4.30

Please paste any error log messages below:
The PWM configuration is invalid or corrupt. Please correct the error, or 
remove the configuration file. { 5033 ERROR_INVALID_CONFIG (New User 
Registration -> New User Form does not contain the ldap naming attribute 'cn', 
but is required because it is the ldap naming attribute and the username is not 
being automatically generated.) }

Original issue reported on code.google.com by onno.van...@gmail.com on 11 Dec 2012 at 9:58

GoogleCodeExporter commented 9 years ago
How about sharing your config file?

Original comment by jrivard on 11 Dec 2012 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by onno.van...@gmail.com on 11 Dec 2012 at 2:49

Attachments:

GoogleCodeExporter commented 9 years ago
Just happened to me.  Fixed it by setting cn to 1-64 length not 0-255 also 
Required/Unique is a good idea but I think it was the allowed zero length that 
triggered the 5033 error

Original comment by Spoiled....@gmail.com on 27 Feb 2014 at 3:41