virtual-ldap
8 years agoemit only minimal useful output to STDOUT
Dobrica Pavlinusic [Sat, 29 Aug 2015 12:48:14 +0000 (14:48 +0200)]
emit only minimal useful output to STDOUT

8 years agoreplace only CR
Dobrica Pavlinusic [Sat, 29 Aug 2015 12:47:53 +0000 (14:47 +0200)]
replace only CR

8 years agoskip expired users
Dobrica Pavlinusic [Sat, 29 Aug 2015 12:47:18 +0000 (14:47 +0200)]
skip expired users

10 years agostrip cr/lf from attribue
Dobrica Pavlinusic [Wed, 9 Oct 2013 13:51:45 +0000 (13:51 +0000)]
strip cr/lf from attribue

12 years agoconfigure OPAC_URL
Dobrica Pavlinusic [Thu, 14 Jul 2011 20:23:45 +0000 (20:23 +0000)]
configure OPAC_URL

12 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

12 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

12 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

12 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

13 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

13 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

13 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

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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

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

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

13 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

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

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

13 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

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

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

13 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

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

13 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

14 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

14 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

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

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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

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

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

14 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

14 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

14 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

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

14 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

14 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

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

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

14 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

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

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

14 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