virtual-ldap
13 years agosplit out sql queries into own files for easier
Dobrica Pavlinusic [Fri, 17 Apr 2009 21:39:45 +0000 (21:39 +0000)]
split out sql queries into own files for easier
maintenance

13 years agosupport different SQL queries for different objectClasses
Dobrica Pavlinusic [Wed, 15 Apr 2009 13:50:07 +0000 (13:50 +0000)]
support different SQL queries for different objectClasses

- display DIE messages
- example organizationalUnit
- specify objectClass within SQL query (values separated by LF)

13 years agorename join_with -> filter
Dobrica Pavlinusic [Wed, 15 Apr 2009 12:47:57 +0000 (12:47 +0000)]
rename join_with -> filter

13 years agodump a lot more debugging information
Dobrica Pavlinusic [Wed, 15 Apr 2009 11:06:27 +0000 (11:06 +0000)]
dump a lot more debugging information

13 years agowe really need AutoCommit => 1 so we see changes
Dobrica Pavlinusic [Fri, 27 Mar 2009 16:55:53 +0000 (16:55 +0000)]
we really need AutoCommit => 1 so we see changes
in koha database which happend after startup

13 years agouse new column rfid_sid for card serial numbers
Dobrica Pavlinusic [Fri, 27 Mar 2009 16:52:05 +0000 (16:52 +0000)]
use new column rfid_sid for card serial numbers
(as opposed to cardnumber which is data *ON* card)

13 years agoinit script for bin/ldap-rewrite.pl
Dobrica Pavlinusic [Thu, 26 Mar 2009 22:30:50 +0000 (22:30 +0000)]
init script for bin/ldap-rewrite.pl

13 years agoimplement simple one argument filter and added objectClass
Dobrica Pavlinusic [Wed, 25 Mar 2009 23:23:12 +0000 (23:23 +0000)]
implement simple one argument filter and added objectClass

13 years agoimplement or
Dobrica Pavlinusic [Wed, 25 Mar 2009 22:57:01 +0000 (22:57 +0000)]
implement or

13 years agofinish mappings from UMgr-LDAP.conf
Dobrica Pavlinusic [Wed, 25 Mar 2009 22:06:00 +0000 (22:06 +0000)]
finish mappings from UMgr-LDAP.conf

13 years agomake listen address and port configurable as first option
Dobrica Pavlinusic [Wed, 25 Mar 2009 21:24:33 +0000 (21:24 +0000)]
make listen address and port configurable as first option

13 years ago(no commit message)
Dobrica Pavlinusic [Wed, 25 Mar 2009 21:15:19 +0000 (21:15 +0000)]

13 years agoadded cn
Dobrica Pavlinusic [Mon, 23 Mar 2009 22:00:26 +0000 (22:00 +0000)]
added cn

13 years agolisten on IP address and port
Dobrica Pavlinusic [Mon, 23 Mar 2009 21:55:39 +0000 (21:55 +0000)]
listen on IP address and port

13 years agoadd notice about LDAP::Net::Entry lc on attributes
Dobrica Pavlinusic [Mon, 23 Mar 2009 21:31:49 +0000 (21:31 +0000)]
add notice about LDAP::Net::Entry lc on attributes

13 years agosimple LDAP server which reads data from Koha
Dobrica Pavlinusic [Mon, 23 Mar 2009 20:26:48 +0000 (20:26 +0000)]
simple LDAP server which reads data from Koha
indexed by otherPager which is cardnumber in Koha

13 years agocleanup
Dobrica Pavlinusic [Mon, 23 Mar 2009 20:24:46 +0000 (20:24 +0000)]
cleanup

13 years agocleanup all encoding cruft since Koha mungles data
Dobrica Pavlinusic [Tue, 17 Mar 2009 10:59:31 +0000 (10:59 +0000)]
cleanup all encoding cruft since Koha mungles data

13 years agobetter errors if sockets can't be opened
Dobrica Pavlinusic [Tue, 17 Mar 2009 09:39:05 +0000 (09:39 +0000)]
better errors if sockets can't be opened

13 years agolog to file
Dobrica Pavlinusic [Tue, 17 Mar 2009 09:33:44 +0000 (09:33 +0000)]
log to file

13 years agoadded log file
Dobrica Pavlinusic [Mon, 16 Mar 2009 18:11:12 +0000 (18:11 +0000)]
added log file

13 years agofix gender (since we don't mark string as utf-8 anymore)
Dobrica Pavlinusic [Mon, 16 Mar 2009 14:58:54 +0000 (14:58 +0000)]
fix gender (since we don't mark string as utf-8 anymore)

13 years agoencode yaml in utf-8
Dobrica Pavlinusic [Mon, 16 Mar 2009 13:54:50 +0000 (13:54 +0000)]
encode yaml in utf-8

13 years agowe need to unset LANG if we don't want to corrupt encoding
Dobrica Pavlinusic [Mon, 16 Mar 2009 13:34:32 +0000 (13:34 +0000)]
we need to unset LANG if we don't want to corrupt encoding

13 years agomark sockets as binary so we don't corrupt encoding
Dobrica Pavlinusic [Mon, 16 Mar 2009 13:27:44 +0000 (13:27 +0000)]
mark sockets as binary so we don't corrupt encoding

13 years agosupport ARRAY values from yaml file
Dobrica Pavlinusic [Mon, 16 Mar 2009 10:12:57 +0000 (10:12 +0000)]
support ARRAY values from yaml file

13 years agoif field have # subfield delimiter, save splitted field into yaml
Dobrica Pavlinusic [Mon, 16 Mar 2009 10:02:46 +0000 (10:02 +0000)]
if field have # subfield delimiter, save splitted field into yaml

13 years agocorrectly support multiple subfield delimiters (#) as one
Dobrica Pavlinusic [Mon, 16 Mar 2009 09:58:36 +0000 (09:58 +0000)]
correctly support multiple subfield delimiters (#) as one

13 years agosplit hrEduPersonUniqueNumber into separate attributes
Dobrica Pavlinusic [Mon, 16 Mar 2009 09:46:47 +0000 (09:46 +0000)]
split hrEduPersonUniqueNumber into separate attributes
based on prefix: within field

13 years agoextract config into hash and display it on startup
Dobrica Pavlinusic [Sun, 15 Mar 2009 22:00:24 +0000 (22:00 +0000)]
extract config into hash and display it on startup

13 years agodeclare dependencies
Dobrica Pavlinusic [Sun, 15 Mar 2009 21:45:45 +0000 (21:45 +0000)]
declare dependencies

13 years agouse ssl connection to upstream ldap
Dobrica Pavlinusic [Sun, 15 Mar 2009 21:20:35 +0000 (21:20 +0000)]
use ssl connection to upstream ldap

13 years agofix gender
Dobrica Pavlinusic [Sun, 15 Mar 2009 21:07:54 +0000 (21:07 +0000)]
fix gender

13 years agomake first fixed and mobile phone and put in in separate fields
Dobrica Pavlinusic [Sun, 15 Mar 2009 20:54:14 +0000 (20:54 +0000)]
make first fixed and mobile phone and put in in separate fields

13 years agoadd field for mobite phone
Dobrica Pavlinusic [Sun, 15 Mar 2009 20:47:15 +0000 (20:47 +0000)]
add field for mobite phone

13 years agostrip spaces
Dobrica Pavlinusic [Sun, 15 Mar 2009 20:39:55 +0000 (20:39 +0000)]
strip spaces

13 years agoif files have magic delimiter # then we will split each
Dobrica Pavlinusic [Sun, 15 Mar 2009 20:01:21 +0000 (20:01 +0000)]
if files have magic delimiter # then we will split each
occurance into it's own field

13 years agooverlay yaml data over ldap entry
Dobrica Pavlinusic [Sun, 15 Mar 2009 19:48:21 +0000 (19:48 +0000)]
overlay yaml data over ldap entry

13 years agoconvert CSV file to yaml
Dobrica Pavlinusic [Sun, 15 Mar 2009 19:45:44 +0000 (19:45 +0000)]
convert CSV file to yaml

13 years agosimple-proxy.pl from Net::LDAP contrib which works
Dobrica Pavlinusic [Sun, 15 Mar 2009 18:53:37 +0000 (18:53 +0000)]
simple-proxy.pl from Net::LDAP contrib which works
with Koha and rewrite search results

13 years agoignore auto-generated stuff
Dobrica Pavlinusic [Sat, 14 Mar 2009 18:23:03 +0000 (18:23 +0000)]
ignore auto-generated stuff

13 years agosave search queries to YAML files
Dobrica Pavlinusic [Sat, 14 Mar 2009 18:21:29 +0000 (18:21 +0000)]
save search queries to YAML files

13 years agoremove cache usage
Dobrica Pavlinusic [Sat, 14 Mar 2009 15:43:53 +0000 (15:43 +0000)]
remove cache usage

13 years agorename to LDAP::Virtual
Dobrica Pavlinusic [Sat, 14 Mar 2009 14:47:54 +0000 (14:47 +0000)]
rename to LDAP::Virtual

13 years agocorrectly construct bind arguments
Dobrica Pavlinusic [Sat, 14 Mar 2009 14:44:45 +0000 (14:44 +0000)]
correctly construct bind arguments

13 years agoa bit more cleanup
Dobrica Pavlinusic [Sat, 14 Mar 2009 13:45:20 +0000 (13:45 +0000)]
a bit more cleanup

13 years agoextract virtual LDAP part from A3C
Dobrica Pavlinusic [Sat, 14 Mar 2009 13:01:20 +0000 (13:01 +0000)]
extract virtual LDAP part from A3C