[SOLVED] Testlink 1.9.3 integration with LDAP server
Posted: Mon Jul 30, 2012 12:41 pm
Hello all,
I have been using Testlink 1.9.3 for my project on centOS 6.2. I have been trying to integrate Testlink with LDAP.
Here is the configuration I am using :
$tlCfg->authentication['method'] = 'LDAP';
/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'ldaps://LDAP SERVER'; (I even tried without ldaps://)
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'dc=LDAP SERVER,dc=se';
$tlCfg->authentication['ldap_organization'] = ''; // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field'] = 'uid=MY_LDAP_USERNAME,ou=Users,ou=Internal,o=COMPANY'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = ''; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = 'MY_LDAP_PASSWORD'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_tls'] = false; // true -> use tls
/** Enable/disable Users to create accounts on login page */
$tlCfg->user_self_signup = TRUE;
Before I mention the issue, let me mention that my DB user ID is same as that of LDAP. So as per my understanding TestLink should allow me to login as my userID is already present in DB and LDAP (though the passwords are different for DB and LDAP).
Now, I am getting following issues:
While I try to access Testlink, I see the login page but is unable to login using neither my LDAP nor my DB password.
HTTPD log shows: [Mon Jul 30 18:01:50 2012] [error] [client 169.144.61.13] File does not exist: /var/www/html/testlink/gui/themes/default/css/custom.css, referer: http://<testlinkserver>/testlink/login.php
Please let me know if my LDAP authentication settings are OK? If so, please let know why I cannot login to the Testlink using my LDAP or DB password.
Appreciate your help here ...
Thanks in advance !!
Regards
Raj
I have been using Testlink 1.9.3 for my project on centOS 6.2. I have been trying to integrate Testlink with LDAP.
Here is the configuration I am using :
$tlCfg->authentication['method'] = 'LDAP';
/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'ldaps://LDAP SERVER'; (I even tried without ldaps://)
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'dc=LDAP SERVER,dc=se';
$tlCfg->authentication['ldap_organization'] = ''; // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field'] = 'uid=MY_LDAP_USERNAME,ou=Users,ou=Internal,o=COMPANY'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = ''; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = 'MY_LDAP_PASSWORD'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_tls'] = false; // true -> use tls
/** Enable/disable Users to create accounts on login page */
$tlCfg->user_self_signup = TRUE;
Before I mention the issue, let me mention that my DB user ID is same as that of LDAP. So as per my understanding TestLink should allow me to login as my userID is already present in DB and LDAP (though the passwords are different for DB and LDAP).
Now, I am getting following issues:
While I try to access Testlink, I see the login page but is unable to login using neither my LDAP nor my DB password.
HTTPD log shows: [Mon Jul 30 18:01:50 2012] [error] [client 169.144.61.13] File does not exist: /var/www/html/testlink/gui/themes/default/css/custom.css, referer: http://<testlinkserver>/testlink/login.php
Please let me know if my LDAP authentication settings are OK? If so, please let know why I cannot login to the Testlink using my LDAP or DB password.
Appreciate your help here ...
Thanks in advance !!
Regards
Raj