On Tue, Jun 7, 2011 at 11:17 AM, Vijith PA <[email protected]> wrote: > Hi Friends, > > Last few days am goggling this topics i not found any answer in net > > Can u pls share if anybody already configured?
Following configuration in custom_config.inc.php works for me. $g_login_method = 'LDAP'; $g_ldap_server = 'localhost'; $g_ldap_port = '389'; $g_ldap_root_dn = 'dc=company,dc=com'; $g_ldap_organization = ''; # e.g. '(organizationname=*Traffic)' $g_ldap_uid_field = 'uid'; # Use 'sAMAccountName' for Active Directory $g_ldap_bind_dn = ''; // Left empty if you LDAP server allows anonymous binding $g_ldap_bind_passwd = ''; // Left empty if you LDAP server allows anonymous binding /** * Login authentication method: * 'MD5' => use password stored on db * 'LDAP' => use password from LDAP Server */ $tlCfg->authentication['method'] = $g_login_method; /** LDAP authentication credentials */ $tlCfg->authentication['ldap_server'] = $g_ldap_server; $tlCfg->authentication['ldap_port'] = $g_ldap_port; $tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases $tlCfg->authentication['ldap_root_dn'] = $g_ldap_root_dn; $tlCfg->authentication['ldap_organization'] = $g_ldap_organization; // e.g. '(organizationname=*Traffic)' $tlCfg->authentication['ldap_uid_field'] = $g_ldap_uid_field; // Use 'sAMAccountName' for Active Directory $tlCfg->authentication['ldap_bind_dn'] = $g_ldap_bind_dn; // Left empty for anonymous LDAP binding $tlCfg->authentication['ldap_bind_passwd'] = $g_ldap_bind_passwd; // Left empty for anonymous LDAP binding -- Selva _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
