Seafile 2.1.5 + LDAP support in Windows Server

421 views
Skip to first unread message

Alexander Samuilov

unread,
Mar 10, 2014, 1:00:10 AM3/10/14
to sea...@googlegroups.com
Hello, I have a problem with LDAP settings.

I use Seafile 2.1.5 on Windows Server 2012 with Active Directory.
I have modified ccnet.conf:

[LDAP]
HOST = localhost:389
BASE = dc=Company,dc=local
USER_DN = cn=seafileadmin,dc=Company,dc=local
PASSWORD = *****
LOGIN_ATTR = userPrincipalName

When I restart seafile server ccnet.log has been modified:

user-mgr.c(221): ldap_bind failed: Invalid credentials.

If I right I must create Active Directory user with "seafileadmin" name (I've created it).

PS. I'm new in LDAP and maybe I doing some principally wrong.

Alexander Samuilov

unread,
Mar 11, 2014, 2:54:32 AM3/11/14
to sea...@googlegroups.com
Problem has been solved by modifying config in such a way:

[LDAP]
HOST = localhost:389
BASE = dc=Company,dc=local
USER_DN = seafil...@Company.local
PASSWORD = *****
LOGIN_ATTR = userPrincipalName

понедельник, 10 марта 2014 г., 12:00:10 UTC+7 пользователь Alexander Samuilov написал:
Reply all
Reply to author
Forward
0 new messages