Multible auth sources

Is it possible to combine LDAP auth with local auth? So use both at the same time?

Yes; You can use the hybrid auth provider. If you set up the following system properties;

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

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

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

Then the hybrid auth provider will first check the local database, and then LDAP. You can add a third with hybridAuthProvider.tertiaryProvider.className, or re-order as required.

Regards,

Greg

1 Like

Thank you :slight_smile: