Kayako logo
How do I? Questions about how to do specific things in SupportSuite, eSupport and LiveResponse. Not for reporting problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
adr132 Offline
New Member
 
Posts: 12
Join Date: Jun 2008
2 Templates Authenticating to 2 different AD/LDAP loginshare - 26-06-2008, 06:23 PM

I am trying to create 2 seperate templates for 2 departments that use a Microsoft Active Directory/LDAP loginshare to authenticate. Each Department has its own department AD Organizational Unit within the same Domain. I followed Craig's instructions on how to create a duplicate AD/LDAP loginshare, and assigned Department1 template to AD/LDAP1 loginshare (ou=Department1,dn=domain,dn=org), and Department2 template to AD/LDAP2 loginshare (ou=Department2,dn=domain,dn=org). All user settings within the AD/LDAP loginshare for Department1 & 2 are correct. When a user tries to log on, it will authenticate to the original AD/LDAP loginshare which is Department1, but if a user that is located in the Department2 (AD/LDAP2 loginshare path) it will not try to authenticate and say "invalid user". It seems that the AD/LDAP2 loginshare that i added and assigned to my second template is not being used for authentication at all? Is there something I'm missing, or is this not possible?

I followed below directions exactly:

" 1. Inside includes/LoginShare/, dublicate activedirectory.login.php and name activedirectory2.login.php.

2. Open activedirectory2.login.php and change all references of the following to whats on the right :-
adhostname -> adhostname2
adport -> adport2
adbasedn -> adbasedn2
adrdn -> adrdn2
adpassword -> adpassword2
LOGINAPI_ACTIVEDIRECTORY -> LOGINAPI_ACTIVEDIRECTORY2

3. Open up loginshare.config.php and paste the following at the bottom of the define list :-
define("LOGINAPI_ACTIVEDIRECTORY2", 231);

Change the number at the end if required so it is unique. 231 is correct as of 3.11.01.

4. In the same file, paste the following at the bottom of the $_LOGINAPI list :-
$_LOGINAPI[LOGINAPI_ACTIVEDIRECTORY2] = array("title" => $_SWIFT["language"]["loginapi_activedirectory2"], "include" => "activedirectory2.login.php");

5. Open locale/en-us/templates.php and find
'loginapi_activedirectory' => 'Microsoft Active Directory/LDAP'

Below it add the following :-
'loginapi_activedirectory2' => 'Microsoft Active Directory/LDAP2'

The above should then create another LoginShare which you can assign to a template group. You can repeat by increasing the number for as many template groups as you need. Similar steps can be followed for the other LoginShares."
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,573
Join Date: Jun 2005
Location: Cumbria, UK
27-06-2008, 09:43 AM

"LOGINAPI_ACTIVEDIRECTORY" - Note there may be more than one reference to this, same for some of the other fields.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
adr132 Offline
New Member
 
Posts: 12
Join Date: Jun 2008
In another File? - 27-06-2008, 12:31 PM

Do you mean a reference in another .php file not listed in the instructions? I searched for every instance of all listed names to rename within the specified .php files listed in the instructions.

I own SupportSuite version 3.20.02
   
Reply With Quote
  (#4) Old
adr132 Offline
New Member
 
Posts: 12
Join Date: Jun 2008
Figured out what was wrong - 27-06-2008, 01:37 PM

I wasn't going to the proper URL for that template group.........
   
Reply With Quote
Reply

Tags
ad or ldap, authenticating, loginshare, templates

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
loginshare + normal esupport logins spidermonkey How do I? 1 25-04-2008 07:25 PM
LDAP LoginShare working Too Well (not authenticating) lacinda SupportSuite, eSupport and LiveResponse 6 13-03-2008 05:45 AM
LoginShare AD/LDAP ph0rse Installation & Upgrading 5 29-06-2007 02:29 PM



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