Configuring LDAP Authentication using SugarCRM and Active Directory
This seems to be a fairly undocumented hot topic that I’ve been trying to find an answer to for the last couple of days. Let me preface this by saying I am not an expert in SugarCRM or LDAP, but I finally got it up and running. Here’s my settings for getting SugarCRM Version 5.0.0b (Build 3150) authenticating via LDAP to our Windows 2003 Server Active Directory Domain Controller. Sugar is set up on a RHEL box using apache and MySQL. Get this up and running on our SQL Server 2005 cluster is going to be the next challenge
.
- Server: servername (Make sure the server your SugarCRM instance is on can ping your LDAP server.)
- Port Number: 389 (If you are using LDAP over SSL, the default is 636.)
- Base DN: DC=foo,DC=bar (If your domain is foo.bar. More normally this is probably going to be foo.com.)
- Bind Attribute: userPrincipalName
- Login Attribute: sAMAccountName
- Authenticated User: user@foo
- Authenticated Password: ********** (Password for user@foo.)
- Auto Create Users:
- Encryption Key: (Leave this blank)
Shout out to Softerra and their awesome LDAP Browser tool.
5 Comments