/[virtual-ldap]/lib/LDAP/Koha.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/LDAP/Koha.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 40 by dpavlin, Wed Mar 25 23:23:12 2009 UTC revision 42 by dpavlin, Fri Mar 27 16:52:05 2009 UTC
# Line 22  our $database = 'koha'; Line 22  our $database = 'koha';
22  our $user     = 'unconfigured-user';  our $user     = 'unconfigured-user';
23  our $passwd   = 'unconfigured-password';  our $passwd   = 'unconfigured-password';
24    
25  our $max_results = 3; # 100; # FIXME  our $max_results = 10; # 100; # FIXME
26    
27  require 'config.pl' if -e 'config.pl';  require 'config.pl' if -e 'config.pl';
28    
# Line 40  my $sql_select = q{ Line 40  my $sql_select = q{
40    
41                  -- SAFEQ specific mappings from UMgr-LDAP.conf                  -- SAFEQ specific mappings from UMgr-LDAP.conf
42                  surname                                         as displayName,                  surname                                         as displayName,
43                  cardnumber                                      as pager,                  rfid_sid                                        as pager,
44                  email                                           as mail,                  email                                           as mail,
45                  categorycode                                    as organizationalUnit,                  categorycode                                    as organizationalUnit,
46                  borrowernumber                                  as objectGUID,                  borrowernumber                                  as objectGUID,
# Line 54  my $ldap_sql_mapping = { Line 54  my $ldap_sql_mapping = {
54          'objectGUID'    => 'borrowernumber',          'objectGUID'    => 'borrowernumber',
55          'displayName'   => 'surname',          'displayName'   => 'surname',
56          'sn'            => 'surname',          'sn'            => 'surname',
57          'pager'         => 'cardnumber',          'pager'         => 'rfid_sid',
58  };  };
59    
60  # attributes which are same for whole set, but somehow  # attributes which are same for whole set, but somehow

Legend:
Removed from v.40  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26