LDAP overhaul
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 30 Jun 2009 14:14:50 +0000 (09:14 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:18 +0000 (23:19 +0200)
commit3fe0735189950ae240fbfadef7408e75dbba9145
treee9ec3a3e4b68dc8c542472c9cbddb42fd4b1f368
parent014618cc43127eee8494cf6712e73004012fa205
LDAP overhaul

Allow replicate and update to be zero.
Break out logic into separate subs.
Do only one bind attempt depending on setting, instead of
necessarily failing first before trying auth_by_bind.

POD added for active directory and to document permutations of
behavior given different conditions.  Fixed mistaken debug lines
that called "print STDERR printf ...", i.e. printed the line to output
and "1" to the error log.  Added principal_name feature for generating
bind user from Koha userid.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Auth_with_ldap.pm