Fetched Groups from LDAP doesn't show up for Library Sharing

server

#1

I am using Seafile Pro 6.2.12 together with LDAP for users and groups, but the imported groups don’t show up when trying to share a library with a group.

Groups have been Imported like:

/var/seafile/haiwen/seafile-server-latest/./pro/pro.py ldapsync
 [05/15/2018 16:55:01] [DEBUG] using config file /var/seafile/haiwen/conf/ccnet.conf
[05/15/2018 16:55:01] [DEBUG] create group 1, and add dn pair cn=HR Managers,ou=Groups,dc=example,dc=in<->1 success.
[05/15/2018 16:55:01] [DEBUG] create group 2, and add dn pair cn=PD Managers,ou=Groups,dc=example,dc=in<->2 success.
[05/15/2018 16:55:01] [DEBUG] create group 3, and add dn pair cn=Accounting Managers,ou=Groups,dc=example,dc=in<->3 success.
[05/15/2018 16:55:01] [DEBUG] create group 4, and add dn pair cn=QA Managers,ou=Groups,dc=example,dc=in<->4 success.
[05/15/2018 16:55:01] [INFO] LDAP group sync result: add [4]group, update [0]group, delete [0]group

My ccnf.conf

[General]
USER_NAME = Seafile
ID = 5ee492a7d85dc0a2d32a457dcf3215ee5be8297f
NAME = Seafile
SERVICE_URL = http://dav.example.in, 192.168.23.21:8000

[Client]
PORT = 13419

[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = seafile
PASSWD = < Password >
DB = ccnet-db
CONNECTION_CHARSET = utf8

[LDAP]
HOST = ldap://mail.example.in
# Change the following to your primary domain base DN
BASE = ou=People,dc=example,dc=in;ou=groups,dc=example,dc=in
FILTER = &(objectclass=kolabinetorgperson)
# Put in the details of the Kolab service account
USER_DN = uid=kolab-service,ou=Special Users,dc=example,dc=in
PASSWORD = < Password >
LOGIN_ATTR = mail

[LDAP_SYNC]
ENABLE_GROUP_SYNC = true
SYNC_INTERVAL = 5
GROUP_OBJECT_CLASS = groupOfUniqueNames # <<< checked this with ldapsearch "... -s sub"objectclass=*""
FIRST_NAME_ATTR = givenName
LAST_NAME_ATTR = sn
DEPT_ATTR = department
UID_ATTR = uid