Changeset 1454 for releases/0.9/auth
- Timestamp:
- 12/13/07 22:41:45 (1 year ago)
- Files:
-
- releases/0.9/auth/ldap/lib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/0.9/auth/ldap/lib.php
r1288 r1454 49 49 */ 50 50 51 function ldap_init_connection($host, $port, $protocol_ver , $bind_dn='', $bind_pwd='') {51 function ldap_init_connection($host, $port, $protocol_version, $bind_dn='', $bind_pwd='') { 52 52 53 53 global $messages; … … 57 57 $ds = @ldap_connect($host, $port); 58 58 59 @ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $ version);59 @ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 60 60 61 61 // Start the LDAP bind process
