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 |
|
|
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, |
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 |