From 0dce085af94ccbd20a45ea97d851b6b4eb8141ac Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 8 Mar 2010 10:33:54 +0000 Subject: [PATCH] Added additional message for login restrictions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index aeb543b7e..df32e69ea 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -528,6 +528,7 @@ function ldap_login_user_htaccess ($username) /* Bail out if we have login restrictions set, for security reasons the message is the same than failed user/pw */ if (!$ui->loginAllowed()){ + new log("security","login","",array(),"Login restriction for user \"$username\", login not permitted"); return (NULL); } @@ -624,6 +625,7 @@ function ldap_login_user ($username, $password) /* Bail out if we have login restrictions set, for security reasons the message is the same than failed user/pw */ if (!$ui->loginAllowed()){ + new log("security","login","",array(),"Login restriction for user \"$username\", login not permitted"); return (NULL); } -- 2.30.2