replace CR and LF in RFID_SID
emit only useful log meesates to STDOUT and hide all debuging messages without DEBUG enviroment variable
replace only CR
strip cr/lf from attribue
removed bunch of output with $debug
use connect_cached so we will reconnect when mysql drops connection
BUG FIX for Column borrowernumber in where clause is ambiguous
remove debug output and limit on objectclass=*person*
move RFID_SID into borrower_attributes
cleanup dn from @domain since we extract it from e-mail
produce whole dn in SQL queries so we don't have to mungle it in code
fix handling of last entry if there is none
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
reset objectclass for each search request
allow where which are specified in SQL files, so we add just our conditions with and
fix single filter queries
implement multiple values by keeping dn and repeating rows with changed attributes, implement organizationalunit and group with same attributes as Active Directory
split out sql queries into own files for easier maintenance
support different SQL queries for different objectClasses - display DIE messages - example organizationalUnit - specify objectClass within SQL query (values separated by LF)
rename join_with -> filter