Changeset 6582
- Timestamp:
- 06/22/12 16:29:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/workflow/inc/class.bo_utils.inc.php
r6037 r6582 114 114 $senha = $config[$ldap_indexes['passwd']]; 115 115 116 $referrals = ($params['useCCParams'] == "true") ? 1 : $config['ldap_follow_referrals']; 117 116 118 if($usuario != "" && $senha != ""){ 117 119 $ds = ldap_connect($ldapconfig['host']); 118 120 119 121 ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); 120 ldap_set_option($ds, LDAP_OPT_REFERRALS, 1);122 ldap_set_option($ds, LDAP_OPT_REFERRALS, $referrals); 121 123 122 124 $lbind = @ldap_bind($ds, $usuario, $senha);
Note: See TracChangeset
for help on using the changeset viewer.