[Bps-public-commit] r17834 - RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth

zordrak at bestpractical.com zordrak at bestpractical.com
Mon Jan 19 06:45:43 EST 2009


Author: zordrak
Date: Mon Jan 19 06:45:07 2009
New Revision: 17834

Modified:
   RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth/LDAP.pm

Log:
RT::Authen::ExternalAuth v0.08_01-alpha4 - Empty BaseDN fix applied

Modified: RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth/LDAP.pm
==============================================================================
--- RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth/LDAP.pm	(original)
+++ RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth/LDAP.pm	Mon Jan 19 06:45:07 2009
@@ -177,9 +177,9 @@
         $RT::Logger->debug( "LDAP Filter invalid or not present.");
     }
 
-    unless ($base) {
+    unless (defined($base)) {
         $RT::Logger->critical(  (caller(0))[3],
-                                "No base given");
+                                "LDAP baseDN not defined");
         # Drop out to the next external information service
         return ($found, %params);
     }



More information about the Bps-public-commit mailing list