~aw/ubuntu/lucid/davical/trunk

« back to all changes in this revision

Viewing changes to inc/drivers_ldap.php

  • Committer: Bazaar Package Importer
  • Author(s): Andrew McMillan
  • Date: 2009-10-24 12:42:37 UTC
  • mto: (10.1.1 sid) (7.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20091024124237-ncz0aoh9h0088vkl
Tags: upstream-0.9.7.6
ImportĀ upstreamĀ versionĀ 0.9.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
* @license   http://gnu.org/copyleft/gpl.html GNU GPL v2
11
11
*/
12
12
 
13
 
require_once("auth-functions.php");
 
13
if ( !function_exists('CreateHomeCalendar') ) include('auth-functions.php');
14
14
 
15
15
class ldapDrivers
16
16
{
176
176
    }
177
177
 
178
178
    $dnUser = ldap_get_dn($this->connect, ldap_first_entry($this->connect,$entry));
179
 
    
 
179
 
180
180
    if ($c->authenticate_hook['config']['i_use_mode_kerberos'] == "i_know_what_i_am_doing") {
181
181
        dbg_error_log( "LOG", "drivers_ldap : Skipping password Check for user %s which should be the same as %s",$username , $_SERVER["REMOTE_USER"]);
182
182
      if ($username != $_SERVER["REMOTE_USER"]) {