Bruno, Can you send me your LDAP files or a diff with rel_2_2 so that I can include this fix in 2.2.6? Thanks, Joshua On Thu, Mar 02, 2006 at 09:38:29AM +0100, Bruno Marmol wrote:
"Mark Flach" <mwflach@prometa.or.cr> writes:
Did you ever get LDAP to work on Koha? I'm getting the same password error.
Yes, but there was some post on the same subject on the list...
Here is a piece of code to fix the problem. The original code try to do an anonymous bind... Replace with a bind with the user/passwd
my $db = Net::LDAP->new( $ldapserver );
if (!defined($db)) { print STDERR "Can not create LDAP object!\n"; return 0; }; => my $res =$db->bind( "uid=$userid,$name",password => $password);
# check connexion if($res->code) { # auth refused #warn "LDAP Auth: not binded"; return 0; # search user } else { ...
I suppose it will work after...
Hope that help
-- Bruno Marmol.
Ingénieur à la Direction Information Scientifique et de la communication
Email: Bruno.Marmol@Inrialpes.Fr - Tel: 04 76 61 53 04 - Fax: 04 76 61 52 52 Inria Rhône Alpes. ZIRST - 655 Av de l'Europe. - Montbonnot St Martin 38334 St Ismier Cedex - France
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS