diff --git a/controllers/class.Login.php b/controllers/class.Login.php index d4eb54ee0..51dac6390 100644 --- a/controllers/class.Login.php +++ b/controllers/class.Login.php @@ -104,6 +104,9 @@ class SeedDMS_Controller_Login extends SeedDMS_Controller_Common { require_once("../inc/inc.ClassLdapAuthentication.php"); $authobj = new SeedDMS_LdapAuthentication($dms, $settings); $user = $authobj->authenticate($login, $pwd); + if(!$user) { + add_log_line('Authentication against LDAP failed for user '.$login); + } } /* }}} */ /* Authenticate against SeedDMS database {{{ */ diff --git a/webdav/webdav.php b/webdav/webdav.php index e3ce26d7b..c147a10d0 100644 --- a/webdav/webdav.php +++ b/webdav/webdav.php @@ -171,7 +171,7 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server if(!$userobj) { if($this->logger) - $this->logger->log('check_auth: No such user', PEAR_LOG_NOTICE); + $this->logger->log('check_auth: No such user'.$user, PEAR_LOG_NOTICE); return false; }