I have installed the ldap plugin in Tuleap 7.2.99.22, configure it with the following ldap.inc, activate it and turn to "ldap" the $sys_auth_type in /etc/codendi/conf/local.inc.
$sys_ldap_server = "ldap://xx.xx.xx.xx:xxx";
$sys_ldap_dn = "OU=xxxxx xxx,DC=xxxx,DC=corp";
$sys_ldap_bind_dn = "CN=xxxx,OU=Projects,OU=xxxxx (xx xx),OU=xxxxx xxx,DC=xxxx,DC=corp";
$sys_ldap_bind_passwd = "xxxxxx";
$sys_ldap_uid = "sAMAccountName";
$sys_ldap_eduid = "sAMAccountName";
$sys_ldap_cn = "cn";
$sys_ldap_mail = "mail";
$sys_ldap_people_dn = "OU=Users,OU=xxxxx (xx xx),OU=xxxxx xxx,DC=xxxx,DC=corp";
$sys_ldap_search_user="(|(sAMAccountname=%words%)(cn=%words%)(mail=%words%))";
$sys_ldap_tooltip_search_user='(&(|(sn=%words%) (cn=%words%)(department=%words%) (givenName=%words%)(sAMAccountname=%words%))(!(givenName=BoiteVocale))(sAMAccountname=))';
$sys_ldap_tooltip_search_attrs='sAMAccountname;sn;givenName;cn;name;displayName;department';
$sys_ldap_default_user_status = 'A';
$sys_ldap_svn_auth = 1;
$sys_ldap_daily_sync = 0;
$sys_ldap_daily_sync_retention_period = '';
$sys_ldap_user_management = 1;
$sys_ldap_grp_enabled = 0;
$sys_ldap_grp_dn = 'ou=groups,dc=tuleap,dc=net';
$sys_ldap_grp_cn = 'cn';
$sys_ldap_grp_member = 'uniquemember';
I have verified that the command ldapsearch is valid with the element that I have put in the ldap.inc file, but there is nothing special in Tuleap. I have tried to connect with an account of the LDAP and I have the following message : "Invalid Password Or User Name".
- Is there any log that can help me to find where is the problem ?
- Is there anything to do after the plugin installation in order to collect all the ldap user in Tuleap ? Is there a command to do that ?
- If I have a local user with the same login than in the LDAP, what will happen ?
Thanks for any answers that could help me