From: Dobrica Pavlinusic Date: Mon, 23 Mar 2009 21:31:49 +0000 (+0000) Subject: add notice about LDAP::Net::Entry lc on attributes X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=commitdiff_plain;h=93928e3aef0157263201341fd7db2a59ea821b3e;ds=inline add notice about LDAP::Net::Entry lc on attributes --- diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index 3c7c1de..b738c55 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -26,6 +26,9 @@ require 'config.pl' if -e 'config.pl'; my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoCommit => 0 }) || die $DBI::errstr; +# Net::LDAP::Entry will lc all our attribute names anyway, so +# we don't really care about correctCapitalization for LDAP +# attributes which won't pass through DBI my $sth = $dbh->prepare(q{ select userid as uid,