<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>mihafan,</DIV>
<DIV> </DIV>
<DIV>I'm not familiar with Microsofts LDAP schema, but, </DIV>
<DIV> </DIV>
<DIV>Are you sure this is correct??</DIV>
<DIV> </DIV>
<DIV>
<DIV> <base>dc=koha,dc=local</base> <BR> <user>cn=Administrator,cn=Users,dc=koha,dc=md</user></DIV>
<DIV> </DIV>
<DIV>as I understand it <base> section sets the base to start searching for users for authentication, not the <base> for the server?</DIV>
<DIV>do you need to put in the full dn for the user even after you specified the "base" ?</DIV>
<DIV> </DIV>
<DIV>maybe try:</DIV></DIV>
<DIV>
<DIV> <base>dc=koha,dc=md</base> <BR> <user>cn=Administrator,cn=Users</user> <BR> <pass>Q1W2e3r4</pass> </DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV>Here is my working LDAP config. section for eDir. maybe it will point you in the correct direction.</DIV>
<DIV>in the <base> section my T = my root tree name </DIV>
<DIV> </DIV></DIV>
<DIV>**************************************</DIV>
<DIV><useldapserver>1</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on --><BR> <!-- LDAP SERVER (optional) --><BR> <ldapserver id="ldapserver" listenref="ldapserver"><BR> <hostname>10.1.1.7</hostname><BR> <base>T=ALMASCHOOLS</base><BR> <user>*************</user> <!-- DN, if not anonymous --><BR> <pass>*************</pass> <!-- password, if not anonymous --><BR> <replicate>1</replicate> <!-- add new users from LDAP to Koha database --><BR> <update>0</update> <!-- update existing users in Koha database --><BR> <mapping> <!-- match koha SQL field names to your LDAP record field names --><BR> <firstname is="givenname" ></firstname><BR> <surname is="sn" ></surname><BR> <address is="" >Alma Public Schools</address><BR> <city is="" >Alma</city><BR> <zipcode is="" >48801</zipcode><BR> <branchcode is="" >PINE</branchcode><BR> <userid is="cn" ></userid><BR> <password is="" ></password><BR> <email is="mail" ></email><BR> <categorycode is="" >PT</categorycode><BR> <phone is="telephonenumber"></phone><BR> </mapping><BR></ldapserver><BR>**************************************************</DIV><BR><BR>>>> mihafan<mihafan@gmail.com> 5/10/2011 3:14 AM >>><BR>Description of problem:<BR><BR>On local machine is installed windows server 2003 with configured active<BR>director.<BR>I installed Debian on another machine, here I installed Koha 3.2 which still<BR>works well.<BR>Koha have configured to use a active directory ldap server.<BR>I test this ldap server with Softerra LDAP Browser and it works, to test<BR>this ldap server I use a credentials:<BR>cn=Administrator,cn=Users,dc=koha,dc=local, password: Q1W2e3r4.<BR>koha-conf.xml contents:<BR><yazgfs><BR>..............<BR><config><BR>..........................<BR><memcached_servers></<BR>memcached_servers><BR><memcached_namespace></memcached_namespace><BR><BR><useldapserver>1</useldapserver><BR> <ldapserver id="ldapserver"><BR> <hostname>192.168.11.90:389</hostname> <BR> <base>dc=koha,dc=local</base> <BR> <user>cn=Administrator,cn=Users,dc=koha,dc=md</user> <BR> <pass>Q1W2e3r4</pass> <BR> <replicate>1</replicate> <BR> <update>1</update> <BR> <auth_by_bind>1</auth_by_bind><BR> <principal_name>%@koha.local</principal_name><BR> <mapping> <BR> <BR> <firstname is="givenName" ></firstname><BR> <surname is="sn" ></surname><BR> <address is="postalAddress" ></address><BR> <city is="l" ></city><BR> <branchcode is="" >MAIN</branchcode><BR> <userid is="sAMAccountName" >Administrator</userid><BR> <password is="userPassword" ></password><BR> <categorycode is="">PT</categorycode><BR> </mapping> <BR> </ldapserver> <BR></config><BR></yazgfs><BR><BR>When I try to log in OPAC module, I give a error "Invalid username or<BR>password"!<BR><BR><BR>--<BR>View this message in context: <A href="http://koha.1045719.n5.nabble.com/Koha-ldap-authentification-tp4383836p4383836.html">http://koha.1045719.n5.nabble.com/Koha-ldap-authentification-tp4383836p4383836.html</A><BR>Sent from the Koha - Discuss mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Koha mailing list <A href="http://koha-community.org">http://koha-community.org</A><BR>Koha@lists.katipo.co.nz<BR><A href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</A><BR><BR></BODY></HTML>