Changeset:
        3e911455667a
        
https://sourceforge.net/p/mrbs/hg-code/ci/3e911455667a7ec05b8293893e0ac4dcba263ff5
Author:
        Campbell Morrison <[email protected]>
Date:
        Wed Apr 20 16:30:02 2016 +0100
Log message:

Merge

diffstat:

 web/auth/auth_ldap.inc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 419e5688ff9e -r 3e911455667a web/auth/auth_ldap.inc
--- a/web/auth/auth_ldap.inc    Wed Apr 20 16:28:44 2016 +0100
+++ b/web/auth/auth_ldap.inc    Wed Apr 20 16:30:02 2016 +0100
@@ -204,7 +204,7 @@
           }
           authLdapDebug("authLdapAction: base_dn '".
                         $all_ldap_opts['ldap_base_dn'][$idx].
-                        "' user $user dn $dn");
+                        "' user '$user' dn '$dn'");
         }
       }
       else
@@ -501,15 +501,17 @@
     if (@ldap_count_entries($ldap, $res) > 0)
     {
       authLdapDebug("authCheckAdminGroupCallback: search successful".
-                    " $group_member_attrib");
+                    " '$group_member_attrib'");
       $entries = ldap_get_entries($ldap, $res);
       foreach ($entries[0][utf8_strtolower($group_member_attrib)] as $group)
       {
         if (strcasecmp($group, $admin_group_dn) == 0)
         {
+          authLdapDebug("authCheckAdminGroupCallback: Admin group successfully 
found in user object");
           return 1;
         }
       }
+      authLdapDebug("authCheckAdminGroupCallback: Admin group not found in 
user object");
     }
   }
   return 0;

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to