Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5971 Tampilan

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?

Avatar
Buang
Penulis Jawaban Terbai

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.

Avatar
Buang

can you show your LDAP config ?

Post Terkait Replies Tampilan Aktivitas
1
Jul 24
2342
1
Jan 24
5886
2
Mar 23
3162
1
Jun 22
8681
0
Jan 21
2730