Groups in Database Users in LDAP

Though I found the answer in these forums, it wasn’t as clear or as easy as could be. Hope it helps

We’re using Sun Directory. I wanted to have users auth against it, but I didn’t want to store groups in LDAP. I wanted to store them in the DB - the web setup wizard allows for an either LDAP or database install, to my knowledge it doesn’t provide for a hybrid install - e.g. users in LDAP, groups in DB or the reverse.

It turns out you can change the group provider class value using the system properties via the web admin.

After completing the web setup wizard for an LDAP install, to store groups in the DB, under Server Manager, Sytem Properties, change

provider.group.className

from: org.jivesoftware.openfire.ldap.LdapGroupProvider

to: org.jivesoftware.openfire.group.DefaultGroupProvider