LDAP auth module - now works with Sun DS

Discussion forum about Anuko Time Tracker
Post Reply
Posts: 546
Joined: Fri Oct 08, 2004 9:46 pm
Location: Vancouver, Canada

LDAP auth module - now works with Sun DS

Post by admin » Sat Apr 14, 2012 12:14 am

Greetings to all,

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');
  'server' => '', // 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.

Posts: 3
Joined: Tue May 15, 2012 5:41 pm

Re: LDAP auth module - now works with Sun DS

Post by ErickFranco » Tue May 15, 2012 5:44 pm

Thanks again for the help. Using the member_of option creates a warning in the DS. It should work even if it's specified by mistake.

Post Reply