From bdf0bd9ecf61aee938ce20d11a07c5452e052cd1 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Tue, 13 Nov 2007 19:02:32 -0600 Subject: [PATCH] LDAP: more of the same Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Auth_with_ldap.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 481d0a7b56..04e5a3c251 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -82,8 +82,8 @@ my $ldappassword = 'metavore'; my %config = ( anonymous => ($ldapname and $ldappassword) ? 0 : 1, - replicate => 0, # add from LDAP to Koha database for new user - update => 0, # update from LDAP to Koha database for existing user + replicate => 1, # add from LDAP to Koha database for new user + update => 1, # update from LDAP to Koha database for existing user ); sub description ($) { @@ -216,7 +216,7 @@ WHERE cardnumber=? die "Unexpected error after password update to $userid / $cardnumber."; } -sub confirmer($$) { +sub confirmer($$$) { my $sth = shift or return undef; my $userid = shift or return undef; my $digest = shift or return undef; -- 2.39.5