Having trouble binding to active directory. Following this guide: http://kohablog.wordpress.com/2011/03/29/using-active-directory-ldap/ Using ldp.exe on my active directory server, I was able to bind to ldap.directory.local with config below the logs. I inserted line 85 to display: warn sprintf("test : %s ", $filter->as_string); Since I was not able to bind base using ldp.exe, I force NET::LDAP to the subtree scope by adding "scope => 'subtree'," Using Koha 3.12 from debian squeeze apt repo. Logs: [error] mainpage.pl: Use of uninitialized value in string ne at /usr/share/koha/lib/C4/Auth.pm line 663, <DATA> line 558., referer: http://library.domain.local/ [error] mainpage.pl: Use of uninitialized value $pki_field in string eq at /usr/share/koha/lib/C4/Auth.pm line 773, <DATA> line 558., referer: http://library.domain.local/ [error] mainpage.pl: Use of uninitialized value $pki_field in string eq at /usr/share/koha/lib/C4/Auth.pm line 773, <DATA> line 558., referer: http://library.domain.local/ [error] mainpage.pl: test : (sAMAccountName=andrew)at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 85, <DATA> line 558., referer: http://library.domain.local/ [error] mainpage.pl: LDAP Auth rejected : (sAMAccountName=andrew) gets 0 hits, referer: http://library.domain.local/ [error] mainpage.pl: LDAP error #1: LDAP_OPERATIONS_ERROR, referer: http://library.domain.local/ [error] mainpage.pl: # Server encountered an internal error, referer: http://library.domain.local/ [error] mainpage.pl: , referer: http://library.domain.local/ [error] mainpage.pl: Use of uninitialized value $retuserid in string ne at /usr/share/koha/lib/C4/Auth.pm line 810, <DATA> line 587., referer: http://library.domain.local/ [debug] mod_deflate.c(615):Zlib: Compressed 5630 to 1650 : URL /index.html, referer: http://library.domain.local/ Config: <useldapserver>1</useldapserver> <ldapserver id="ldapserver"> <hostname>ldap.domain.local</hostname> <base>CN=Users,DC=domain,DC=local</base> <user>user</user> <pass>pass</pass> <replicate>1</replicate> <update>1</update> <auth_by_bind>1</auth_by_bind> <principal_name>%s@domain.local</principal_name> <mapping> <firstname is="givenname"></firstname> <surname is="sn"></surname> <address is="postaladdress"></address> <city is="l"></city> <zipcode is="postalcode"></zipcode> <branchcode is="branch">MAIN</branchcode> <userid is="sAMAccountName"></userid> <password is=""></password> <categorycode is="employeetype">PT</categorycode> </mapping> </ldapserver> -- View this message in context: http://koha.1045719.n5.nabble.com/Active-Directory-LDAP-Yes-another-issue-tp... Sent from the Koha-general mailing list archive at Nabble.com.