Configuration Manager 5004 Authentication Required

729 views
Skip to first unread message

brian...@gmail.com

unread,
Jun 24, 2019, 10:45:39 AM6/24/19
to pwm-general
Trying to push my configuration but can't as each time I go to restrict config I get "5004 ERROR_AUTHENTICATION_REQUIRED" (You must be authenticated before restriction the configuration"

I entered the configuration password to get to this screen, double checked if I could just enter the wrong password and get to the GUI anyways but it does check password, so not sure what other authentication I need?

I was looking in the configuration editor for something about admin access, but only saw that you can specify an ldap group for admin access once you restrict the config.

Is the only way to restrict to go into the .xml and just set Configenabled to false there?

brian...@gmail.com

unread,
Jun 27, 2019, 6:38:06 PM6/27/19
to pwm-general

Posting my solution here in case anyone else has this issue. You have to make sure to correctly map LDAP admins in the config editor, then log into the GUI and then you'll be able to save the config. Makes sense now that I have found it but that error did not really point me in any useful direction!

Mukesh Kumar

unread,
Apr 6, 2020, 6:25:38 PM4/6/20
to pwm-general
I'm stuck here with this error : 

2020-04-06T16:57:50Z, ERROR, auth.SessionAuthenticator, {DGLVq} ldap error during search: 5016 ERROR_CANT_MATCH_USER (an ldap user for username value 'admin' was not found) [10.98.51.84]
2020-04-06T16:58:04Z, INFO , provider.WatchdogWrapper, connection user account password is currently expired.  Disabling watchdog timeout. id=w31
2020-04-06T16:58:04Z, ERROR, auth.SessionAuthenticator, {DGLVq} ldap error during search: 5016 ERROR_CANT_MATCH_USER (an ldap user for username value 'singhm8' was not found) [10.98.51.84]

g.mccull...@gmail.com

unread,
May 18, 2020, 2:05:09 AM5/18/20
to pwm-general

Can you elaborate on this a bit.  How did you get LDAP admins to map correctly? 

Bruce 2004x

unread,
Nov 6, 2020, 5:33:12 PM11/6/20
to pwm-general
I faced same error, what I did:

1. Stop PWM from Topmcat
2. Edit PwmConfiguration.xml file
3. On the line <property key="configIsEditable">false</property> just make sure it says false instead of true (or type true if you want to back editing again)
4. Save the file and start PWM from Tomcat
5. Voila!..now config is restricted.

Eduardo from Colombia
Reply all
Reply to author
Forward
0 new messages