http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7099
--- Comment #1 from [email protected] 2011-10-27 07:39:45 UTC --- Cause: $userldapentry remains unset when authenticating by bind if ( $ldap->{auth_by_bind} ) { my $principal_name = $ldap->{principal_name}; if ($principal_name and $principal_name =~ /\%/) { $principal_name = sprintf($principal_name,$userid); } else { $principal_name = $userid; } my $res = $db->bind( $principal_name, password => $password ); if ( $res->code ) { $debug and warn "LDAP bind failed as kohauser $principal_name: ". description($res); return 0; } } this is called in sub ldap_entry_2_hash ($$) and will cause the code to fail. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
