virtual-ldap
14 years agoremove debug output and limit on objectclass=*person*
Dobrica Pavlinusic [Thu, 18 Feb 2010 16:22:32 +0000 (16:22 +0000)]
remove debug output and limit on objectclass=*person*

14 years agoadded rewrite of LDAP bind CN username@domain.com -> uid=username,dc=domain,dc=com
Dobrica Pavlinusic [Sun, 13 Dec 2009 17:35:36 +0000 (17:35 +0000)]
added rewrite of LDAP bind CN username@domain.com -> uid=username,dc=domain,dc=com

- document all changes
- version bump 0.3
- $debug dumps more output

14 years agomove RFID_SID into borrower_attributes
Dobrica Pavlinusic [Fri, 13 Nov 2009 12:43:47 +0000 (12:43 +0000)]
move RFID_SID into borrower_attributes

14 years agorewrite DN from login@domain.com into uid=login,dc=domain,dc=com
Dobrica Pavlinusic [Wed, 21 Oct 2009 18:17:38 +0000 (18:17 +0000)]
rewrite DN from login@domain.com into uid=login,dc=domain,dc=com

14 years agocleanup dn from @domain since we extract it from e-mail
Dobrica Pavlinusic [Tue, 15 Sep 2009 13:10:13 +0000 (13:10 +0000)]
cleanup dn from @domain since we extract it from e-mail

14 years agofake objectGUID
Dobrica Pavlinusic [Wed, 9 Sep 2009 11:42:22 +0000 (11:42 +0000)]
fake objectGUID

14 years agoput categorycode also in department attribute
Dobrica Pavlinusic [Tue, 5 May 2009 16:06:45 +0000 (16:06 +0000)]
put categorycode also in department attribute

14 years agoproduce whole dn in SQL queries so we don't have to mungle it in code
Dobrica Pavlinusic [Wed, 29 Apr 2009 12:22:40 +0000 (12:22 +0000)]
produce whole dn in SQL queries so we don't have to mungle it in code

14 years agocreate organizationlUnit for each categorycode from Koha
Dobrica Pavlinusic [Wed, 29 Apr 2009 11:48:10 +0000 (11:48 +0000)]
create organizationlUnit for each categorycode from Koha

14 years agofix handling of last entry if there is none
Dobrica Pavlinusic [Wed, 29 Apr 2009 11:47:13 +0000 (11:47 +0000)]
fix handling of last entry if there is none

14 years agouse limit just for object classes which have "person" in them
Dobrica Pavlinusic [Wed, 29 Apr 2009 09:29:46 +0000 (09:29 +0000)]
use limit just for object classes which have "person" in them
use MAX_RESULTS enviroment variable if it exists (default: 3000 entries)

This is done to support full list of organizationalUnit and group
members which is often more than MAX_RESULTS limit

14 years agoreset objectclass for each search request
Dobrica Pavlinusic [Wed, 29 Apr 2009 09:18:11 +0000 (09:18 +0000)]
reset objectclass for each search request

14 years agoallow where which are specified in SQL files, so we add just
Dobrica Pavlinusic [Wed, 29 Apr 2009 09:03:47 +0000 (09:03 +0000)]
allow where which are specified in SQL files, so we add just
our conditions with and

14 years agofix single filter queries
Dobrica Pavlinusic [Wed, 29 Apr 2009 08:48:16 +0000 (08:48 +0000)]
fix single filter queries

15 years agoimplement multiple values by keeping dn and repeating rows with changed
Dobrica Pavlinusic [Fri, 17 Apr 2009 23:16:00 +0000 (23:16 +0000)]
implement multiple values by keeping dn and repeating rows with changed
attributes, implement organizationalunit and group with same attributes
as Active Directory

15 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

15 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)

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

15 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

15 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

15 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)

15 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

15 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

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

15 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

15 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

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

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

15 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

15 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

15 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

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

15 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

15 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

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

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

15 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)

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

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

15 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

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

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

15 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

15 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

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

15 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

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

15 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

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

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

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

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

15 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