virtual-ldap
6 weeks agodiag dump result if using FILTER=uid=foobar master
Dobrica Pavlinusic [Tue, 1 Oct 2019 12:43:45 +0000 (14:43 +0200)]
diag dump result if using FILTER=uid=foobar

8 months agoinstall required prerequisites from debian packages
Dobrica Pavlinusic [Wed, 6 Mar 2019 08:46:23 +0000 (09:46 +0100)]
install required prerequisites from debian packages

8 months agoextract @ffzg.hr mail or safeq smtp server will reject it
Dobrica Pavlinusic [Sat, 23 Feb 2019 09:03:32 +0000 (10:03 +0100)]
extract @ffzg.hr mail or safeq smtp server will reject it

3 years agouse FILTER enviroment variable to specify LDAP filter
Dobrica Pavlinusic [Tue, 4 Oct 2016 12:02:21 +0000 (14:02 +0200)]
use FILTER enviroment variable to specify LDAP filter

3 years agounroll multiple e-mail addresses into mail, mail_1, mail_2 ...
Dobrica Pavlinusic [Tue, 4 Oct 2016 12:01:54 +0000 (14:01 +0200)]
unroll multiple e-mail addresses into mail, mail_1, mail_2 ...

3 years agoadded while loop since we are starting from rc.local
Dobrica Pavlinusic [Mon, 3 Oct 2016 13:45:30 +0000 (15:45 +0200)]
added while loop since we are starting from rc.local

3 years agoreplace CR and LF in RFID_SID
Dobrica Pavlinusic [Mon, 3 Oct 2016 13:45:12 +0000 (15:45 +0200)]
replace CR and LF in RFID_SID

4 years agoemit only useful log meesates to STDOUT
Dobrica Pavlinusic [Sat, 29 Aug 2015 13:31:00 +0000 (15:31 +0200)]
emit only useful log meesates to STDOUT

and hide all debuging messages without DEBUG enviroment variable

4 years agoemit log output to STDOUT
Dobrica Pavlinusic [Sat, 29 Aug 2015 13:29:56 +0000 (15:29 +0200)]
emit log output to STDOUT

4 years agominimal logging output without DEBUG
Dobrica Pavlinusic [Sat, 29 Aug 2015 13:01:55 +0000 (15:01 +0200)]
minimal logging output without DEBUG

4 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

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

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

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

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

8 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

8 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

8 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

8 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

8 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

9 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

9 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

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

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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

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

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

9 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

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

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

9 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

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

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

9 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

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

9 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

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

10 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

10 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

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

10 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

10 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

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

10 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

10 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

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

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

10 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

10 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

10 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

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

10 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

10 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

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

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

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

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

10 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

10 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

10 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

10 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