DEPARTMENT FILTER for LDAP SYNC


#1

Hi all

[and especially @daniel.pan and @Jonathan)

Could it be possible to implement one more feature in DEPT SYNC as :

DEPARTMENT_FILTER

as GROUP_FILTER

We have an LDAP STRUCTURE in which

o=epcc

ou=epcc-pole-numerique

ou=people
ou=groups
ou=roles

As it is shown below

Id’like to filter these because as a user i see two groups

epcc-pole-numerique
people (i’m in people)

I don’t want to show “people” group

[Edit]

You may also SYNC ONLY Departements that contains on LDAP object as defined in USER_OBJECT_CLASS
Then, empty departments would not be imported

Regards


#2

OK, we’ll put this into plan. BTW, please note that the configuration options for syncing departments have been re-designed in the latest version: https://manual.seafile.com/deploy_pro/ldap_group_sync.html


#3

Thank you @Jonathan

Please consider that the filtering option should only bypass some OU for the display

Considering the following LDAP structure

o=epcc

ou=epcc-pole-numerique

ou=people
ou=groups
ou=roles

Users are located in the branch people

The DEPTs should be

eppc

epcc-pole-numerique

And users that are in epcc/epcc-pole-numerique/people should be located in

epcc

epcc-pole-numerique

Yes, i noticed that and it’s really nice !

Regards