virtual-ldap
18 months agoempty search response for jpegphoto without upstream ldap roundcube
Dobrica Pavlinusic [Sat, 29 Oct 2022 08:57:49 +0000 (08:57 +0000)]
empty search response for jpegphoto without upstream ldap

18 months agocache $last_reqpdu, not really unseful yet
Dobrica Pavlinusic [Sat, 29 Oct 2022 07:41:58 +0000 (07:41 +0000)]
cache $last_reqpdu, not really unseful yet

18 months agorename to ldap-roundcube.pl
Dobrica Pavlinusic [Thu, 27 Oct 2022 16:58:31 +0000 (16:58 +0000)]
rename to ldap-roundcube.pl

18 months agofilter new_user_identity plugin to get only @ffzg.(unizg.).hr
Dobrica Pavlinusic [Thu, 27 Oct 2022 13:02:33 +0000 (13:02 +0000)]
filter new_user_identity plugin to get only @ffzg.(unizg.).hr

3 years agosplit homePostalAddress
Dobrica Pavlinusic [Mon, 25 Jan 2021 12:52:57 +0000 (13:52 +0100)]
split homePostalAddress

3 years agoflush STDOUT
Dobrica Pavlinusic [Mon, 25 Jan 2021 12:51:56 +0000 (13:51 +0100)]
flush STDOUT

4 years agoremove clever e-mail selection and use primary one
Dobrica Pavlinusic [Thu, 19 Dec 2019 14:43:26 +0000 (15:43 +0100)]
remove clever e-mail selection and use primary one

4 years agodiag dump result if using FILTER=uid=foobar
Dobrica Pavlinusic [Tue, 1 Oct 2019 12:43:45 +0000 (14:43 +0200)]
diag dump result if using FILTER=uid=foobar

5 years 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

5 years 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

7 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

7 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 ...

7 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

7 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

8 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

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

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

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

14 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

14 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

14 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

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

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

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

14 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

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

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

14 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

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

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

14 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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