Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5960 Lượt xem

I'm trying to enabled LDAP integration with the module.

I *believe* I have the correct settings but authentication fails when I specify a username (or email)/password.


I have configured the logged to DEBUG level. But there's no errors regarding LDAP. I'm using v10 community version on Windows Server 2008R2. It does specify in the module description that "Note: This module only work on servers who have Python's ldap module installed." How can I verify that is installed?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Okay, I solved it!

This is for Windows (Server 2008 R2 in my case):


First install Python 2.6 on the server. Then install Python LDAP https://www.python-ldap.org/download.html


If your LDAP bind has special characters such as comma, my CN is "lastname, firstname", escape the comma using a \ i.e. "lastname\,firstname". Spaces do not need to be escape.

Ảnh đại diện
Huỷ bỏ

can you show your LDAP config ?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 24
2335
1
thg 1 24
5846
2
thg 3 23
3158
1
thg 6 22
8659
0
thg 1 21
2725