Changeset 3279 for branches/2.2/preferences/changepassword.php
- Timestamp:
- 09/22/10 16:03:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/preferences/changepassword.php
r1681 r3279 44 44 $cc=ldap_connect($ldap_servidor); 45 45 46 if($GLOBALS['phpgw_info']['server']['ldap_version3']) 47 { 48 ldap_set_option($cc, LDAP_OPT_PROTOCOL_VERSION, 3); 49 } 50 46 51 // bind .. 47 52 $sr=ldap_bind($cc,$ldap_dn,$ldap_passwd); … … 57 62 // Tem de achar só uma entrada.....ao menos uma.... 58 63 if($info["count"]!=1) 59 { 64 { if($GLOBALS['phpgw_info']['server']['ldap_version3']) 65 { 66 ldap_set_option($cc, LDAP_OPT_PROTOCOL_VERSION, 3); 67 } 60 68 ldap_close($cc); 61 69 return false;
Note: See TracChangeset
for help on using the changeset viewer.