add notice about LDAP::Net::Entry lc on attributes
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 23 Mar 2009 21:31:49 +0000 (21:31 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 23 Mar 2009 21:31:49 +0000 (21:31 +0000)
lib/LDAP/Koha.pm

index 3c7c1de..b738c55 100644 (file)
@@ -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,