Mailing List Archive

Removing annoying log lines
Another patch.

-----------------------------------------------------------------
Hansen, Rasmus Borup Intomics - from data to biology
System Administrator Diplomvej 377
Scientific Programmer DK-2800 Kgs. Lyngby
Denmark
E: rbh@intomics.com W: http://www.intomics.com/
P: +45 5167 7972 P: +45 8880 7979



---
inc/drivers_ldap.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php
index a784e48..765b3fd 100644
--- a/inc/drivers_ldap.php
+++ b/inc/drivers_ldap.php
@@ -205,7 +205,7 @@ class ldapDrivers
$dnUser = ldap_get_dn($this->connect, ldap_first_entry($this->connect,$entry));

if ( isset($c->authenticate_hook['config']['i_use_mode_kerberos']) && $c->authenticate_hook['config']['i_use_mode_kerberos'] == "i_know_what_i_am_doing"
- dbg_error_log( "LOG", "drivers_ldap : Skipping password Check for user %s which should be the same as %s",$username , $_SERVER["REMOTE_USER"]);
+ dbg_error_log( "LDAP", "drivers_ldap : Skipping password Check for user %s which should be the same as %s",$username , $_SERVER["REMOTE_USER"]);
if ($username != $_SERVER["REMOTE_USER"]) {
return false;
}
--
1.7.9.5


_______________________________________________
DAViCal-dev mailing list
DAViCal-dev@lists.davical.org
http://lists.davical.org/listinfo/davical-dev
Re: Removing annoying log lines [ In reply to ]
On Fri, 2012-05-11 at 15:28 +0200, Rasmus Borup Hansen wrote:
> Another patch.

Applied, thanks.

Cheers,
Andrew.
>
> -----------------------------------------------------------------
> Hansen, Rasmus Borup Intomics - from data to biology
> System Administrator Diplomvej 377
> Scientific Programmer DK-2800 Kgs. Lyngby
> Denmark
> E: rbh@intomics.com W: http://www.intomics.com/
> P: +45 5167 7972 P: +45 8880 7979
>
>
>
> ---
> inc/drivers_ldap.php | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php
> index a784e48..765b3fd 100644
> --- a/inc/drivers_ldap.php
> +++ b/inc/drivers_ldap.php
> @@ -205,7 +205,7 @@ class ldapDrivers
> $dnUser = ldap_get_dn($this->connect, ldap_first_entry($this->connect,$entry));
>
> if ( isset($c->authenticate_hook['config']['i_use_mode_kerberos']) && $c->authenticate_hook['config']['i_use_mode_kerberos'] == "i_know_what_i_am_doing"
> - dbg_error_log( "LOG", "drivers_ldap : Skipping password Check for user %s which should be the same as %s",$username , $_SERVER["REMOTE_USER"]);
> + dbg_error_log( "LDAP", "drivers_ldap : Skipping password Check for user %s which should be the same as %s",$username , $_SERVER["REMOTE_USER"]);
> if ($username != $_SERVER["REMOTE_USER"]) {
> return false;
> }

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Necessity is the mother of documentation
------------------------------------------------------------------------