virtual-ldap
11 years agouse bind_as from config file
Dobrica Pavlinusic [Thu, 14 Jul 2011 20:18:57 +0000 (20:18 +0000)]
use bind_as from config file

11 years agoread configuration from koha-conf.xml
Dobrica Pavlinusic [Thu, 14 Jul 2011 18:49:24 +0000 (18:49 +0000)]
read configuration from koha-conf.xml

11 years agouse LISTEN env variable if defined
Dobrica Pavlinusic [Fri, 20 May 2011 12:00:45 +0000 (12:00 +0000)]
use LISTEN env variable if defined

11 years agouse SO_KEEPALIVE to detect hanging connections
Dobrica Pavlinusic [Fri, 20 May 2011 12:00:03 +0000 (12:00 +0000)]
use SO_KEEPALIVE to detect hanging connections

11 years agofix test
Dobrica Pavlinusic [Tue, 16 Nov 2010 18:07:05 +0000 (18:07 +0000)]
fix test

removed File::Slurp because it breaks on wide characters and
follow opac-login link instead of localization text

12 years agoapply regex on hrEduPersonGroupMember
Dobrica Pavlinusic [Thu, 2 Sep 2010 12:36:37 +0000 (12:36 +0000)]
apply regex on hrEduPersonGroupMember

this is used to rename group

12 years agoread additional yaml files from yaml/attribute/value.yaml
Dobrica Pavlinusic [Tue, 13 Jul 2010 14:50:58 +0000 (14:50 +0000)]
read additional yaml files from yaml/attribute/value.yaml

12 years agocheck jmbg
Dobrica Pavlinusic [Tue, 13 Jul 2010 14:29:59 +0000 (14:29 +0000)]
check jmbg

12 years agocreate yaml dump files
Dobrica Pavlinusic [Tue, 13 Jul 2010 14:15:50 +0000 (14:15 +0000)]
create yaml dump files

12 years agoparse new csv files with 1st year students
Dobrica Pavlinusic [Tue, 13 Jul 2010 13:21:17 +0000 (13:21 +0000)]
parse new csv files with 1st year students

12 years agostart this skeleton implementation on 3389
Dobrica Pavlinusic [Tue, 18 May 2010 21:36:48 +0000 (21:36 +0000)]
start this skeleton implementation on 3389

12 years agoimprove blurb description of project
Dobrica Pavlinusic [Fri, 14 May 2010 13:12:00 +0000 (13:12 +0000)]
improve blurb description of project

12 years agoexample yaml file to augment data from LDAP search
Dobrica Pavlinusic [Fri, 14 May 2010 12:07:43 +0000 (12:07 +0000)]
example yaml file to augment data from LDAP search

12 years agohow to configure ldap-rewrite and test it
Dobrica Pavlinusic [Fri, 14 May 2010 12:05:24 +0000 (12:05 +0000)]
how to configure ldap-rewrite and test it

12 years agoshort instructions how to install and use
Dobrica Pavlinusic [Fri, 14 May 2010 11:50:10 +0000 (11:50 +0000)]
short instructions how to install and use

12 years agoinstall required perl modules from Debian packages
Dobrica Pavlinusic [Fri, 14 May 2010 11:37:34 +0000 (11:37 +0000)]
install required perl modules from Debian packages

12 years agodump config and don't re-use $search for results of search
Dobrica Pavlinusic [Thu, 6 May 2010 06:22:09 +0000 (06:22 +0000)]
dump config and don't re-use $search for results of search

12 years agoremoved bunch of output with $debug
Dobrica Pavlinusic [Sun, 2 May 2010 19:29:45 +0000 (19:29 +0000)]
removed bunch of output with $debug

12 years agouse connect_cached so we will reconnect when mysql drops connection
Dobrica Pavlinusic [Mon, 19 Apr 2010 13:48:35 +0000 (13:48 +0000)]
use connect_cached so we will reconnect when mysql drops connection

12 years agofix date recognition regex for yyyymmdd
Dobrica Pavlinusic [Wed, 3 Mar 2010 20:38:16 +0000 (20:38 +0000)]
fix date recognition regex for yyyymmdd

12 years agorepair hrEduPersonUniqueNumber unroll
Dobrica Pavlinusic [Mon, 1 Mar 2010 19:58:47 +0000 (19:58 +0000)]
repair hrEduPersonUniqueNumber unroll

12 years agoreformat attributes with date in name and format yyyymmdd into iso yyyy-mm-dd format
Dobrica Pavlinusic [Mon, 1 Mar 2010 18:57:30 +0000 (18:57 +0000)]
reformat attributes with date in name and format yyyymmdd into iso yyyy-mm-dd format
for easier import into databases

12 years agotest CSV file in Windows utf-16 encoding
Dobrica Pavlinusic [Wed, 24 Feb 2010 19:44:23 +0000 (19:44 +0000)]
test CSV file in Windows utf-16 encoding

12 years agouse $entry->dump for much nicer output
Dobrica Pavlinusic [Wed, 24 Feb 2010 18:07:12 +0000 (18:07 +0000)]
use $entry->dump for much nicer output

12 years agodislay path created with html
Dobrica Pavlinusic [Tue, 23 Feb 2010 19:40:01 +0000 (19:40 +0000)]
dislay path created with html

12 years agoadded logout
Dobrica Pavlinusic [Tue, 23 Feb 2010 18:59:42 +0000 (18:59 +0000)]
added logout

12 years agorequire Test::WWW::Mechanize for Koha integration tests
Dobrica Pavlinusic [Tue, 23 Feb 2010 18:18:35 +0000 (18:18 +0000)]
require Test::WWW::Mechanize for Koha integration tests

12 years agoKoha integration tests - remove and create test user
Dobrica Pavlinusic [Tue, 23 Feb 2010 18:16:03 +0000 (18:16 +0000)]
Koha integration tests - remove and create test user

12 years agotest all search filters generated by SAFEQ application
Dobrica Pavlinusic [Tue, 23 Feb 2010 01:28:09 +0000 (01:28 +0000)]
test all search filters generated by SAFEQ application

12 years agorename tests
Dobrica Pavlinusic [Tue, 23 Feb 2010 01:05:04 +0000 (01:05 +0000)]
rename tests

12 years agotest Virtual LDAP implementation on top of Koha scheme
Dobrica Pavlinusic [Tue, 23 Feb 2010 01:03:22 +0000 (01:03 +0000)]
test Virtual LDAP implementation on top of Koha scheme

12 years agoadd attributes_required to test search results
Dobrica Pavlinusic [Tue, 23 Feb 2010 00:22:39 +0000 (00:22 +0000)]
add attributes_required to test search results

12 years agofix server socket connection handling, better logging
Dobrica Pavlinusic [Tue, 23 Feb 2010 00:11:35 +0000 (00:11 +0000)]
fix server socket connection handling, better logging

12 years agosupport configuration as first argument
Dobrica Pavlinusic [Mon, 22 Feb 2010 23:20:44 +0000 (23:20 +0000)]
support configuration as first argument

12 years agotest ldap-rewrite
Dobrica Pavlinusic [Mon, 22 Feb 2010 22:44:56 +0000 (22:44 +0000)]
test ldap-rewrite

12 years agoremove debug dump to stdout
Dobrica Pavlinusic [Mon, 22 Feb 2010 22:18:55 +0000 (22:18 +0000)]
remove debug dump to stdout

12 years agoremove last commit because it was bug in test data
Dobrica Pavlinusic [Mon, 22 Feb 2010 22:15:46 +0000 (22:15 +0000)]
remove last commit because it was bug in test data

12 years agodon't duplicate uid=
Dobrica Pavlinusic [Sun, 21 Feb 2010 16:12:31 +0000 (16:12 +0000)]
don't duplicate uid=

12 years agopush logs into log/ directory
Dobrica Pavlinusic [Sun, 21 Feb 2010 01:03:01 +0000 (01:03 +0000)]
push logs into log/ directory

12 years agodon't write to log without log_file config
Dobrica Pavlinusic [Sun, 21 Feb 2010 01:02:47 +0000 (01:02 +0000)]
don't write to log without log_file config

12 years agoFile::Slurp is dependency
Dobrica Pavlinusic [Sun, 21 Feb 2010 00:48:50 +0000 (00:48 +0000)]
File::Slurp is dependency

12 years agoexample scripts for startup
Dobrica Pavlinusic [Sun, 21 Feb 2010 00:38:01 +0000 (00:38 +0000)]
example scripts for startup

12 years agoBUG FIX for Column borrowernumber in where clause is ambiguous
Dobrica Pavlinusic [Thu, 18 Feb 2010 16:24:58 +0000 (16:24 +0000)]
BUG FIX for Column borrowernumber in where clause is ambiguous

12 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*

12 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

12 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

12 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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