I'm tearing my hair out here, my ldap config:
$tlCfg->authentication['method'] = 'LDAP';
/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'mimas.greekattic.local';
#$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_port'] = '3269';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'OU=SBSUsers,OU=Users,OU=MyBusiness,DC=greekattic,DC=local';
$tlCfg->authentication['ldap_organization'] = '(objectclass=*)'; // e.g. '(organizationname=*Traffic)'
#$tlCfg->authentication['ldap_uid_field'] = 'uid'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_uid_field'] = 'sAMAccountName'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = 'josh@greekattic.local'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = ''; // Left empty for anonymous LDAP binding
The login failes, I get only basic logging in the the logs:
[>>][4a82c11c8f672060126281][DEFAULT][/login.php][09/Aug/12 13:18:20]
[<<][4a82c11c8f672060126281][DEFAULT][/login.php][09/Aug/12 13:18:20][09/Aug/12 13:18:20][took 0.0166 secs]
and nothing in apache's error log.
What's the next step?
Thanks,
Josh.
LDAP woes and logging
Moderators: Amaradana, TurboPT, TL Developers
I'm having the same problem.
Code: Select all
/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'ldapserver';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'dc=columbia,dc=tresys,dc=com';
//$tlCfg->authentication['ldap_organization'] = ''; // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field'] = 'sAMAccountName'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = 'CN=binduser,CN=Service Accounts,DC=mydomain,DC=com'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = 'password'; // Left empty for anonymous LDAP binding