]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Auth/LDAP.pm
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / SL / Auth / LDAP.pm
index 70e963d47896ff45cb12d3eb8c03c271694d07eb..92ee43e2b807ac538d3f4e3e6ffae1ae125a3ce9 100644 (file)
@@ -27,6 +27,12 @@ sub new {
   return $self;
 }
 
+sub reset {
+  my ($self) = @_;
+  $self->{ldap}     = undef;
+  $self->{dn_cache} = { };
+}
+
 sub _connect {
   $main::lxdebug->enter_sub();
 
@@ -180,6 +186,10 @@ sub can_change_password {
   return 0;
 }
 
+sub requires_cleartext_password {
+  return 1;
+}
+
 sub change_password {
   return ERR_BACKEND;
 }