All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
These instructions target Active Directory, but you should be able to use the same process for other LDAP servers.
You use Active Directory (AD) for managing your users and you would like to connect FishEye to AD to authenticate users. For many administrators this can be confusing because AD tries to hide the complexities of LDAP from the user.
CN=Users,DC=test2,DC=local. Here I select a user Administrator. At the very top we see the DN. This is how we identify the users. CN=Administrator,CN=Users,DC=test2,DC=local, so the Base DN for FishEye would be CN=Users,DC=test2,DC=local. CN=Administator identifies the user, so the user filter would be (CN=${USERNAME}).
For Active Directory: Windows logins use sAMAccountName as the login username, so it is more correct to use (sAMAccountName=${USERNAME}) as the User ID filter if you want to match the FishEye/Crucible logins to Windows logins.
cn, the email attribute is mail and the display name attribute is displayName.LDAP URL |
ldap://w2003domain.sydney.atlassian.com:389 |
|---|---|
Base DN |
CN=Users,DC=test2,DC=local |
User Filter |
(CN=${USERNAME}) |
UID Attribute |
cn |
Email Attribute |
|
Display Name Attribute |
displayName |
Initial Bind user |
Administrator |
Initial bind password |
password |
2 Comments
Anonymous
Jun 16, 2010The User Filter and the UID attribute in the example above is inconsistent with the information found at http://confluence.atlassian.com/display/FISHEYE/LDAP+Authentication
The information at http://confluence.atlassian.com/display/FISHEYE/LDAP+Authentication is correct.
Andrew Myers [Atlassian]
Aug 27, 2010Good Point.
It works with either the CN or the sAMAccountName. The LDAP browser I was using used CN as the distinguishing name, which is why the screenshots show that.
Windows logins do use sAMAccountName, so I probably should have used that instead in the user filter, but you can set CN to be the same as sAMAccountName.
I'll fix up the documentation to make that clear.