LDAP: more of the same
authorJoe Atzberger <joe.atzberger@liblime.com>
Wed, 14 Nov 2007 01:02:32 +0000 (19:02 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 16 Nov 2007 19:24:38 +0000 (13:24 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth_with_ldap.pm

index 481d0a7..04e5a3c 100644 (file)
@@ -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;