From: cajus Date: Mon, 8 Mar 2010 10:33:54 +0000 (+0000) Subject: Added additional message for login restrictions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0dce085af94ccbd20a45ea97d851b6b4eb8141ac;p=gosa.git Added additional message for login restrictions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); }