I've installed SugarCRM CE and can't get LDAP group authentication to work with Active Directory. Has anyone ever been able to get this to work or is it completely broken in the current version ? The forums are littered with reports of the same problem and I can see no indication of resolutions.
The LDAP bind using our SugarCRM service account works, but it can't look the user up in the group in AD.
I feel like I've tried every possible attribute and option with no joy. Here are the details we are currently using:
Enable LDAP: yes
Server: <DC name>.nrc.ac.uk
Port: 389
User DN: ou=<OU name>,ou=<OU name>,ou=<OU name>,ou=<OU name>,ou=<OU name>,dc=nrc,dc=ac,dc=uk
Bind attribute: userPrincipalName
Login attribute: sAMAccountName
Group membership: yes
Group DN: ou=Groups,ou=Staff,dc=nrc,dc=ac,dc=uk
Group Name: cn=<SugarCRM group name>
Group membership user attribute: uid
Group membership group attribute: memberUid
Authentication: yes
Username: <SugarCRM service account>@nrc.ac.uk
Password: <SugarCRM service account password>
Auto Create Users: yes
Here is the log file output:
01/16/12 10:57:47 [2776][-none-][FATAL] ldapauth: uid not found for user sugarcrmtest cannot authenticate against an LDAP group
01/16/12 10:57:47 [2776][-none-][FATAL] SECURITY: User authentication for sugarcrmtest failed
01/16/12 10:57:47 [2776][-none-][FATAL] SECURITY: User authentication for sugarcrmtest failed
01/16/12 10:57:47 [2776][-none-][FATAL] FAILED LOGIN:attempts[9] - sugarcrmtest
SugarCRM: SugarCRM Community Edition v6.3.1
O/S: Windows Server 2003 R2 x86 Std
Web server: Apache v2.2.14
Server code: PHP v5.2.12
Even if you could just confirm if this is a dead feature (Sugar developers), this would save me wasting any more time.


1Likes
LinkBack URL
About LinkBacks



Reply With Quote
I've posted my solution here:

Bookmarks