Support #106

Unclear on how to do staff AD lookups

Added by Neer Patel over 12 years ago. Updated over 12 years ago.

Status:Closed Start date:29 Oct 2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

I created a AD Security Group - Domain Local (I tried this at all 3 levels) called 'Kayako_Staff_Team'.

I added my user in this group.

I set my config file to be :
$staff_groups = array('Group' => 'Kayako_Staff_Team');

When I try to log in, I get the following msg :
[10-29-12 - 17:40] KAYAKO_LDAP_TEST: true
[10-29-12 - 17:40] Authenticated: true
[10-29-12 - 17:40] HTML Test: staff
[10-29-12 - 17:40] Type: 'staff'
[10-29-12 - 17:40] Staff groups are enabled
[10-29-12 - 17:40] Staff group not found. Error message sent
[10-29-12 - 17:40] <loginshare>
<result>0</result>
<message>User is not in a valid AD staff group</message>
</loginshare>

I tested using the ldap.html for the user side, and it was able to retrieve my full name and email address. So the ldap connection works. Any clues on what I'm missing?

I tried to change Group to be "Customer Service" Which is the name of the team. But that didn't help.
$staff_groups = array('Group' => 'Kayako_Staff_Team');

History

Updated by Bryan Heath over 12 years ago

It appears that you have the AD group and the Kayako group reversed. Ad group is first => Kayako security group

Updated by Neer Patel over 12 years ago

Bryan Heath wrote:

It appears that you have the AD group and the Kayako group reversed. Ad group is first => Kayako security group

My Kayako Team is called "Customer Service"
My AD Group is called "Kayako_Staff_Team"

Should the code look like this?

$staff_groups = array('Kayako_Staff_Team' => "Customer Service");

Updated by Bryan Heath over 12 years ago

That seems correct

Updated by Bryan Heath over 12 years ago

Were you able to get this working?

Updated by Neer Patel over 12 years ago

Yes, I was! Thank you for your help!!

Updated by Bryan Heath over 12 years ago

  • Status changed from New to Resolved

Updated by Bryan Heath over 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF