2

The FogBugz documentation states

"If you have existing accounts in FogBugz and you want to switch to LDAP, be sure that the names and email addresses in FogBugz exactly match the name and email info on the LDAP server."

On the LDAP server we use, the close fields appear to be 'displayName' and 'mail.'

What is the exact query to the LDAP server?

Can we change which LDAP fields are being queried?

Thanks.

flag

2 Answers

1

I'm pretty sure it is querying for "name" and "mail".

link|flag
1

When FogBugz authenticates against an Active Directory server, it matches the user's email address to the AD mail field, and the full name to the name. Note: name is the name shown in the list of users, not the First, Last or Display Name shown in the properties window in Active Directory.

If you want to change these fields, you can change from Active Directory to LDAP in Admin -> Authentication in FogBugz. Here is the configuration for the vanilla Active Directory setup:

  • URL: LDAP://qa.fogcreek.local/dc=qa,dc=fogcreek,dc=local
  • user template: ^USER
  • filter used to validate a user: (&(objectCategory=person)(objectClass=user)(sAMAccountName=^USER))
  • attribute for the user's full name: cn
  • attribute for the user's email address: mail

Simply change "name" and "mail" as needed, e.g. use displayName for the full name.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.