My OU contains commas.
OU=Administration\, Faculty\, & Staff,DC=apsu,DC=edu
I've told ldapgroups that the "Group is specified in user's DN" and the "Attribute of the DN which contains the group name:" is "OU". But I'm still not getting any group assignments. I'm assuming it's because of the commas. Can anyone help?

CommentFileSizeAuthor
#1 ldapgroups_commas_6.x_1.0_beta2.patch1.45 KBattheshow

Comments

attheshow’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.45 KB

Here's a patch to help with escaping commas in the OU (patch attached).

Also, somewhat unrelated, I wanted to mention that the automatic role assignment wasn't working for me when I was using Trigger module to automatically redirect the user to a new page at login. In case anyone else has this problem in the future, it might give them a hint.

johnbarclay’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Assigned: Unassigned » johnbarclay
Status: Needs review » Closed (duplicate)