- Timestamp:
- 02/26/08 17:03:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/show_user_photo.php
r37 r175 1 1 <?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 2 7 if ($_SESSION['phpgw_info']['expressomail']['user']['account_lid'] == '') 3 8 exit; … … 14 19 ldap_set_option($ldap_conn, LDAP_OPT_PROTOCOL_VERSION, 3); 15 20 ldap_set_option($ldap_conn, LDAP_OPT_REFERRALS, 1); 21 ldap_set_rebind_proc($ldap_conn, ldapRebind); 16 22 17 23 $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.