Bugfix LDAP config to play nice with Zebra.
authorJoe Atzberger <joe.atzberger@liblime.com>
Mon, 16 Jun 2008 20:05:05 +0000 (15:05 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 16 Jun 2008 20:37:13 +0000 (15:37 -0500)
commitac9c6f004d1f2f721dd8730eeab850382f76d78c
tree8bc7d9d2349994931306df84b7d4ee63b828ff03
parent579021df92e07554ae6854a655c5aca96e6fdc6b
Bugfix LDAP config to play nice with Zebra.

The section in KOHA_CONF was moved inside <config> and renamed
<ldapserver>.  Perldoc updated to correspond.  Tested with local
LDAP and existing test (t/db_dependent/Auth_with_ldap.t).
Patch can be applied with confidence based on comparison of 2 dumps:
perl -e 'use C4::Context; use Data::Dumper; my $context=C4::Context->new("./old_config.xml"); print Dumper ($context->{server}->{ldapserver}),"\n";'
 and
perl -e 'use C4::Context; use Data::Dumper; my $context=C4::Context->new("./new_config.xml"); print Dumper (C4::Context->config("ldapserver")),"\n";'
These dumps reflect the way Auth_with_ldap accesses configuration info before and after.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth_with_ldap.pm