projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Option für Mindesthaltbarkeitsdatum in Mandantenkonfiguration verschoben.
[kivitendo-erp.git]
/
SL
/
Auth
/
LDAP.pm
diff --git
a/SL/Auth/LDAP.pm
b/SL/Auth/LDAP.pm
index
ea93262
..
92ee43e
100644
(file)
--- a/
SL/Auth/LDAP.pm
+++ b/
SL/Auth/LDAP.pm
@@
-2,6
+2,7
@@
package SL::Auth::LDAP;
use English '-no_match_vars';
use English '-no_match_vars';
+use Scalar::Util qw(weaken);
use SL::Auth::Constants qw(:all);
use strict;
use SL::Auth::Constants qw(:all);
use strict;
@@
-17,6
+18,7
@@
sub new {
my $self = {};
$self->{auth} = shift;
my $self = {};
$self->{auth} = shift;
+ weaken $self->{auth};
bless $self, $type;
bless $self, $type;
@@
-25,6
+27,12
@@
sub new {
return $self;
}
return $self;
}
+sub reset {
+ my ($self) = @_;
+ $self->{ldap} = undef;
+ $self->{dn_cache} = { };
+}
+
sub _connect {
$main::lxdebug->enter_sub();
sub _connect {
$main::lxdebug->enter_sub();
@@
-178,6
+186,10
@@
sub can_change_password {
return 0;
}
return 0;
}
+sub requires_cleartext_password {
+ return 1;
+}
+
sub change_password {
return ERR_BACKEND;
}
sub change_password {
return ERR_BACKEND;
}