LDAP sync problems

Hi,

I’m on 6.2.10 pro
I try to sync users from Ldap (openldap)

When i simulate, it works, i see all my users

~/seafile/seafile-server-latest$ ./pro/pro.py ldapsync --test

But when i really sync them, i get no results

~/seafile/seafile-server-latest$ ./pro/pro.py ldapsync
[04/01/2018 17:41:38] [DEBUG] using config file /home/cc/seafile/conf/ccnet.conf
[04/01/2018 17:41:38] [INFO] LDAP user sync result: add [0]user, update [0]user, deactive [0]user, add [0]role, update [0]role
[04/01/2018 17:41:38] [INFO] LDAP profile sync result: add [0]profile, update [0]profile, delete [0]profile
[04/01/2018 17:41:38] [INFO] LDAP dept sync result: add [0]dept, update [0]dept, delete [0]dept

I can not log the users in with their LDAP account, also.

Regards

I used

USER_OBJECT_CLASS = userOfNames

Now with

USER_OBJECT_CLASS =person

The sync process is done.

But :

  • i can not log in with LDAP password.
  • i can not SYNC groups, whereas they are defined as

GROUP_OBJECT_CLASS = organizationalRole

or

GROUP_OBJECT_CLASS = groupOfNames

Regards