We have updated LDAP authentication module for Time Tracker to authenticate against Sun Directory Server. Below is an example of configuration parameters in config.php.
Notice the type (openldap) and that the 'member_of' array is empty.
Hope it helps.
- Code: Select all
// Configuration example for Sun DS server:
define('AUTH_MODULE', 'ldap');
$GLOBALS['AUTH_MODULE_PARAMS'] = array(
'server' => '127.0.0.1', // OpenLDAP server address or name.
'type' => 'openldap', // Type of server. This should work with Sun Directory Server when member_of is empty.
'base_dn' => 'ou=People,dc=example,dc=com', // Base distinguished name in LDAP catalog.
'default_domain' => 'example.com', // Default domain.
'member_of' => array()); // List of groups, membership in which is required for user to be authenticated. For Sun DS it must be empty.