.txt during sincronization // ********************** // A string with User_Login that you want to trace or a boolean FALSE if you don't want to trace. define('TRACE_UID', '86928023953'); // TRACE_TYPE can be 'ALL', 'IMAP', 'CALENDAR' or 'CONTACTS' define('TRACE_TYPE', 'IMAP'); // **************************************************** // LDAP Authentication settings // **************************************************** // Set USER and PASSWORD if you are not using anonymous bind // Must have read access to DN, UID and UIDNUMBER of all users define("ANONYMOUS_BIND", false); define("LDAP_BIND_USER", "cn=admin,ou=expressolivre,ou=corp,dc=serpro,dc=gov,dc=br"); define("LDAP_BIND_PASSWORD", "correio"); define("LDAP_HOST", "ldap://10.200.112.132/"); // Address of your LDAP server define("LDAP_PORT", "389"); // Port of your LDAP server // Search base & filter define("LDAP_SEARCH_BASE", "dc=serpro,dc=gov,dc=br"); // Base path to search the filter. Example: dc=company,dc=com define("LDAP_SEARCH_FILTER", "uid=SEARCHVALUE"); // The filter is the user login attribute. You can change only the "uid" by other attribute. The SEARCHVALUE string is replaced by the user login inside the backends. // LDAP field mapping. global $ldap_field_map; $ldap_field_map = array( DN => 'dn', // Change 'dn' only if you use other attribute name in your LDAP. UID => 'uid', // Change 'uid' only if you use other attribute name in your LDAP. UIDNUMBER => 'uidnumber', // Change 'uidnumber' only if you use other attribute name in your LDAP. ); ?>