Changeset 175


Ignore:
Timestamp:
02/26/08 17:03:08 (16 years ago)
Author:
niltonneto
Message:

Ticket 145

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/show_user_photo.php

    r37 r175  
    11<?php 
     2        function ldapRebind($ldap_connection, $ldap_url) 
     3        { 
     4                @ldap_bind($ldap_connection, $_SESSION['phpgw_info']['expressomail']['ldap_server']['acc'],$_SESSION['phpgw_info']['expressomail']['ldap_server']['pw']); 
     5        } 
     6 
    27        if ($_SESSION['phpgw_info']['expressomail']['user']['account_lid'] == '') 
    38                exit; 
     
    1419        ldap_set_option($ldap_conn, LDAP_OPT_PROTOCOL_VERSION, 3); 
    1520        ldap_set_option($ldap_conn, LDAP_OPT_REFERRALS, 1); 
     21        ldap_set_rebind_proc($ldap_conn, ldapRebind); 
    1622         
    1723        $r=ldap_bind($ldap_conn, $_SESSION['phpgw_info']['expressomail']['ldap_server']['acc'],$_SESSION['phpgw_info']['expressomail']['ldap_server']['pw']); 
Note: See TracChangeset for help on using the changeset viewer.