Cannot enable ldap

Hello,

I am opening a topic because I am currently installing version 11 with Docker using “seafile-pro-mc:11.0-latest” and I am unable to activate the LDAP service.

I believe I have followed the documentation correctly by modifying the file “/opt/seafile-data/seafile/conf/ccnet.conf”.

However, when I run the command, I get a response indicating:

root@SRV-NAS01:/opt/seafile-data/seafile# docker exec -it seafile /opt/seafile/seafile-server-latest/pro/pro.py ldapsync -t
[07/11/2024 10:32:56] [INFO] [seafevents] database: mysql, name: seahub_db
[07/11/2024 10:32:56] [INFO] LDAP is not set, stop ldap test.
root@SRV-NAS01:/opt/seafile-data/seafile# find / -name "ccnet.conf"
/opt/seafile-data/seafile/conf/ccnet.conf

Does the ccnet.conf file need to be moved?

You should follow this document to config LDAP: LDAP in version 11.0 (Pro) - Seafile Admin Manual

Since version 11, ccnet.conf is no longer used to config LDAP.