From 93928e3aef0157263201341fd7db2a59ea821b3e Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 23 Mar 2009 21:31:49 +0000 Subject: [PATCH] add notice about LDAP::Net::Entry lc on attributes --- lib/LDAP/Koha.pm | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.20.1