Backdoor admin for openfire admin console

Hey there,

i have configured openfire with our ldap. Now i cant add any user. I want to creat an admin user, for the case - the ldap server is unavailable.

Is there any good solution for that case?

regards,

Florian

you can use hybrid auth provider to accomplish this, or you can edit the database directly

Is there an installation guide or smth?

Here’s what i ment:

Be sure to make a backup first…then do the following

change the following system properties

provider.auth.className = org.jivesoftware.openfire.auth.HybridAuthProvider

provider.user.className = org.jivesoftware.openfire.user.HybridUserProvider

Then add the following

hybridAuthProvider.primaryProvider.className = org.jivesoftware.openfire.ldap.LdapAuthProvider

hybridAuthProvider.secondaryProvider.className = org.jivesoftware.openfire.auth.DefaultAuthProvider

hybridUserProvider.primaryProvider.className = org.jivesoftware.openfire.ldap.LdapUserProvider

hybridUserProvider.secondaryProvider.className = org.jivesoftware.openfire.user.DefaultUserProvider

Restart openfire service.

You should now be able to create local users

1 Like