Changeset 338


Ignore:
Timestamp:
06/25/08 15:42:10 (16 years ago)
Author:
niltonneto
Message:

bind mudado de lugar para que o "ldap_set_option' funcione.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup/index.php

    r328 r338  
    417417                          $ldap_root_pw = $GLOBALS['phpgw_setup']->db->f(0); 
    418418                           
    419                           $ldap_connection = ldap_connect($ldap_host); 
    420                           $ldap_bind = ldap_bind($ldap_connection, $ldap_root_dn, $ldap_root_pw); 
     419                          $ldap_connection = ldap_connect($ldap_host);                     
    421420                          ldap_set_option($ldap_connection,LDAP_OPT_PROTOCOL_VERSION,3); 
    422421                          ldap_set_option($ldap_connection, LDAP_OPT_REFERRALS, 0); 
     422                          $ldap_bind = ldap_bind($ldap_connection, $ldap_root_dn, $ldap_root_pw); 
    423423 
    424424                          $filter="(&(phpgwaccounttype=u)(uid=expresso-admin))"; 
Note: See TracChangeset for help on using the changeset viewer.