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
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
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