Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
threeyears Offline
New Member
 
Posts: 10
Join Date: Sep 2006
LoginShare issues? - 17-11-2006, 07:29 PM

I'm using the ActiveDirectory/LDAP loginshare with my OpenLDAP server. From the logs, it shows that Kayako authenticates to the LDAP server with no error, so I know that part is working.

However I keep getting "Invalid Username or Password" errors from Kayako and no user gets added to the local database.


These are the steps I took to turn on the LDAP LoginShare:

1) Templates > LoginShare > ActiveDirectory/LDAP > Filled out info
2) Templates > Manage Groups > Default > Settings > LoginShare = ActiveDirectory/LDAP


What could be the issue??
   
Reply With Quote
  (#2) Old
threeyears Offline
New Member
 
Posts: 10
Join Date: Sep 2006
17-11-2006, 08:17 PM

After further investigation it appears to be getting all the way into where it calls insertUser() to insert the user into the kayako db, but this function returns null.

Can someone help?
   
Reply With Quote
  (#3) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
18-11-2006, 07:43 PM

Hi,
Please email me at varun AT kayako.com, I have a special debug plugin with me which prints out exact steps of authentication. It should help you in pinpointing where the issue is.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#4) Old
sureshkumar.mr Offline
Member
 
Posts: 149
Join Date: May 2006
21-11-2006, 05:31 AM

This is a long pending bug which they are not interested to fix and no one can question them. The below solution should solve your problem.

Whenever users sends an email to support, user account is created in table "swusers" .
This happens when we enable email queue. The email id is updated in "swuseremails" table.

If the same user tries to login to eSupport or SupportSuite the login fails with message "Invalid Username or Password"

There are two ways to solve this problem:
1. Clear all the records in "swusers" and "swuseremails" table (Take a backup if you need, but I didn't take) or
2. Open "swusers" table, select a record, find the full name, if you know the login id for that name, then update the same in "loginapi_userid" column. Then try to login, it will work.

This is the work around for Active Directory Login share (LDAP) till they fix this bug.
   
Reply With Quote
  (#5) Old
threeyears Offline
New Member
 
Posts: 10
Join Date: Sep 2006
21-11-2006, 02:11 PM

This is not the case for me. I'm creating a brand new test account on the LDAP server and it just isn't creating the user in the Kayako Database. the function insertUser() in /includes/LoginShare/activedirectory.login.php returns null.

I'm using a non existant test login/email that doesn't exist in the swuseremails table.

mysql> select * from swuseremails where email = 'test14@test14.com';
Empty set (0.00 sec)
mysql> select * from swusers where 'fullname' like '%test%';
Empty set (0.00 sec)


Varun -- I've emailed you for that debug script. Thanks for your help on this matter.
   
Reply With Quote
  (#6) Old
threeyears Offline
New Member
 
Posts: 10
Join Date: Sep 2006
21-11-2006, 02:17 PM

Ah, nevermind -- I have fixed it. The LoginShare was working all along, I had my attributes out of order when I converted the activedirectory.login.php from ActiveDirectory attributes to the LDAP attributes in my OpenLDAP server.

All is working now.

Thanks
   
Reply With Quote
Reply

Tags
loginshare

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClientExec LoginShare Issues integrahost SupportSuite, eSupport and LiveResponse 34 15-11-2006 02:59 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46