Bug 29683

Summary: Samba4 AD DC integration with koha ldap
Product: Koha Reporter: Developer Inside <amar>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: 20.11   
Hardware: All   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Developer Inside 2021-12-13 05:44:24 UTC
Hello,
 I have installed koha 20.11 and samba4 AD DC and enabled LDAP server in koha-conf.xml, when I am trying to log in on opac getting the following error : 

LDAP search failed to return object : 00002020: Operation unavailable without authentication at /usr/share/test_koha/lib/C4/Auth_with_ldap.pm line 102. 


when I try to search via terminal using ldapsearch query it's working fine.
Comment 1 Katrin Fischer 2021-12-13 23:24:58 UTC
Hi, at the moment this looks more like an installation/setup issue and as such is better suited for the mailing list where it will also be read by many more people

Bugzilla should only be used for filing bugs, with details on how to reproduce the issue, and enhancement requests.

You can also find some information on LDAP configuration in 20.11 in the manual:
https://koha-community.org/manual/20.11/en/html/apis_protocols.html#ldap

Could your user be the issue?

<user>cn=<nameofuser>, dc=<domaincontroller>,dc=<domaincontroller></user>