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
mharr Offline
New Member
 
Posts: 27
Join Date: Mar 2006
Location: Sydney
Help Needed with LDAP support - 16-05-2006, 03:05 AM

In a windows environment, should LDAP support show up easily in the phpinfo file ? I have uncommented the ldap dll in php.ini and chcked that it is in the extensions folder and restarted the machine, but phpinfo does not show LDAP enabled anywhere that I can see.

This shouldn't be hard, so I am sure it is just me doing something stupid !!!

Help !!
   
Reply With Quote
  (#2) Old
schu Offline
New Member
 
Posts: 15
Join Date: May 2006
16-05-2006, 03:55 AM

I believe that the ldap module will not show up in Diagnostics...PHP Info. If you use PHP's native php_info();, then it should show something about ldap.

On the other hand, if you did uncomment in the right file, and restarted apache or IIS, you could just try setting up a LoginShare to see if it works...that might be faster. Good luck!

-Aaron Schuett
   
Reply With Quote
  (#3) Old
mharr Offline
New Member
 
Posts: 27
Join Date: Mar 2006
Location: Sydney
16-05-2006, 04:56 AM

Thanks for the reply Aaron. Good to know that it does not show in the diagnostics php data. However I have made my own php_info() type file and it does not show up there either.

I have tried the "well I'll just ignore that and keep going and hopefully it will work" attitude, but sadly it does not. All I get is a blank screen regardless of what username and password I use. Even if I just type **** in there it still just comes up with a blank screen.

So I thought I better go back to the start and sort out LDAP with php first.
I am assuming it is obvious in phpinfo when ldap support is enabled ?

Mark.
   
Reply With Quote
  (#4) Old
schu Offline
New Member
 
Posts: 15
Join Date: May 2006
16-05-2006, 06:00 AM

Mark,

Yes, it seems you have PHP set to not show errors (a good idea), which is why you are getting a blank screen instead of any errors. Are you by chance editing the wrong php.ini file? If you take a look at the php_info() you ran, there should be a line "Configuration File (php.ini) Path."
If this doesn't work, some specifics of server software and php version might get some ideas.

-Aaron Schuett
   
Reply With Quote
  (#5) Old
mharr Offline
New Member
 
Posts: 27
Join Date: Mar 2006
Location: Sydney
16-05-2006, 07:01 AM

Aaron,

I am running on a 2k3 server with php 4.4.2 and IIS 6.

I have checked that I am editing the right php.ini file. According to phpinfo I am. That hasn't stopped me looking at it a number of times :-))

What should I change in the php.ini file so that I can see any errors that come up. Maybe that will help me with what is wrong.

Thanks,
Mark.
   
Reply With Quote
  (#6) Old
schu Offline
New Member
 
Posts: 15
Join Date: May 2006
16-05-2006, 01:32 PM

Mark,

Hm, I don't have much (read: any) experience with php & IIS. Here goes my best shot at helping. There should be a line in the php.ini that shows:
display_errors = Off
If you change to on, php should show the error, and give you a hint as to what is wrong. I would still think that it will show call to undefined function ldap_connect(), meaning ldap extension isn't enabled somewhere.

Let's just double-check that you also have a line reading "extension=php_ldap.dll". If so, is the extension directory set correctly? You should have a line like, "extension_dir = "c:\php4\extensions" or whatever the correct path is for you.

Although you are using php4, not php5, I found that the following website might be helpful to you: http://www.peterguy.com/php/install_IIS6.html

-Aaron Schuett
   
Reply With Quote
  (#7) Old
mharr Offline
New Member
 
Posts: 27
Join Date: Mar 2006
Location: Sydney
17-05-2006, 12:06 AM

Aaron,

Thanks for you suggestions and help. I assume you running in a Linux environment.

I have checked and double checked that the php.ini file is set correctly for both the ldap_php.dll and extensions_dll is pointing to the correct directory.
I turned on error display and get this in the browser.
Fatal error: Call to undefined function: ldap_connect() in c:\inetpub\wwwroot\includes\LoginShare\activedirec tory.login.php on line 40

which would suggest that I dont have ldap enabled in php. !!

I have a line in my phpinfo data that says " Virtual Directory Support - Enabled". I am assuming this is not the same as Active Directory being enabled ??

If someone has phpinfo data from a windows environment that shows Active directory support, could you please post that part of it here so I can see what it looks like.

Thanks
Mark.
   
Reply With Quote
  (#8) Old
schu Offline
New Member
 
Posts: 15
Join Date: May 2006
17-05-2006, 12:58 AM

Mark,

I am running Windows, but I'm on Apache as oppoes to IIS. The virtual directory support is not related to active directory/LDAP. I'm not quite sure what it is, but it is enabled on my server as well. Following is a link to a phpinfo() on my server:
http://mba3.cobe.uww.edu/kayako_phpinfo.php
Maybe a person more experienced with IIS could chime in?

-Aaron Schuett
   
Reply With Quote
  (#9) Old
mharr Offline
New Member
 
Posts: 27
Join Date: Mar 2006
Location: Sydney
17-05-2006, 01:24 AM

Aaron,
Well I definitely dont have ldap enabled so I will work on trying to figure out why. Thanks for the link to your phpinfo - at least now I know what ldap enabled looks like.
I will look through the "peterguy" website and see what I can find.
It seems that it should be so easy to get ldap enabled so I am not sure what I am doing wrong !!

Mark.
   
Reply With Quote
Reply

Tags
ldap, support

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
LDAP support showing up in phpinfo data mharr SupportSuite, eSupport and LiveResponse 0 05-05-2006 02:07 AM
ldap v3 support mattc SupportSuite, eSupport and LiveResponse 0 27-02-2006 12:04 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 47