cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible for a SQL group to have both SQL and LDAP subGroups using MultiDirectory?

ron_1
Star Contributor
Star Contributor

I have a group MultiDirectory with a SQL source and an LDAP source. Is it possible to define an LDAP group as a subGroup of a SQL group? If so, would you show how to configure the MultiDirectory, the SQL directory, and the LDAP directory to achieve this capability. Of course, the SQL directory should support SQL subGroups as well as LDAP subGroups.

1 ACCEPTED ANSWER

Olivier_Grisel
Star Contributor
Star Contributor

It might be possible to configure the subGroup and the parentGroup fields of the SQLDirectory to resolve TableReference instances that point to the top-level group directory implemented by the MultiDirectory class. I am not sure anyone tried such a setup though.

The subGroup LDAPReference for the LDAPDirectory should mandatory point to it-self: that means that LDAP groups will only have LDAP subgroups. The parentGroup reference of the LDAPDirectory can be implemented with a inverse reference pointing to the subGroup field of the same directory.

View answer in original post

2 REPLIES 2

Olivier_Grisel
Star Contributor
Star Contributor

It might be possible to configure the subGroup and the parentGroup fields of the SQLDirectory to resolve TableReference instances that point to the top-level group directory implemented by the MultiDirectory class. I am not sure anyone tried such a setup though.

The subGroup LDAPReference for the LDAPDirectory should mandatory point to it-self: that means that LDAP groups will only have LDAP subgroups. The parentGroup reference of the LDAPDirectory can be implemented with a inverse reference pointing to the subGroup field of the same directory.

Hi Olivier,