Page 1 of 1

default admin password

PostPosted:Thu Apr 22, 2010 2:00 pm
by abernut
I just installed on Ubuntu. "JBoss-4.2.3.GA_OpenKM-4.1_RC1"

I am able to launch the browser "http://localhost:8080/OpenKM"

When I try using admin/admin I get an authentication error.

I've tried adding the following code to the login-config.xml file

<!-- OpenKM -->
<application-policy name = "OpenKM">
<authentication>
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
<module-option name="dsJndiName">java:/OKMAuthDS</module-option>
<module-option name="principalsQuery">select usr_pass as PASSWD from users where usr_id=? and usr_active='true'</module-option>
<module-option name="rolesQuery">select ur_role as ROLEID, 'Roles' from user_role where ur_user=?</module-option>
</login-module>
</authentication>
</application-policy>

Re: default admin password

PostPosted:Thu Apr 22, 2010 4:05 pm
by abernut
I have also tried
okmAdmin/admin

Same results

Re: default admin password

PostPosted:Fri Apr 23, 2010 6:20 am
by jllort
The default password as you can read in README.TXT file included in zip is:
user: okmAdmin
pass:admin

You must not making any change in login-config.xml etc... all package is right to authenticate with this user without making changes. Return no unzip fresh installation and try it to ensure no change has been made.

Ensure OpenKM i starting up right ... take a look at server.log at %Jboss_home%/server/default/web/server.log

If not runs, tell us the operating system you're using.

Re: default admin password

PostPosted:Fri Apr 23, 2010 2:02 pm
by abernut
Thank you,
I removed the change I made, restarted the service, and it is working now.