Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


xpd



Chief Trash Bandit
9146 posts

Uber Geek
+1 received by user: 1443

Mod Emeritus
Trusted
Lifetime subscriber

Topic # 25972 8-Sep-2008 11:27
Send private message

Im trying to setup phpBB to use LDAP to pull authentication information so our end users dont have to remember another password etc........

Ive installed everything using XAMPP for Windows, the main forum itself is running but whenever I try to get phpBB to use LDAP, I get the error "LDAP extension not available"

Ive uncommented the extension for php/ldap in Apache, added the PHP dir to the PATH for windows and copied the DLLs into their various directories but still get the same error message.

Anyone got any ideas ?




XPD / Gavin / DemiseNZ

 

Server : i3-3240 @ 3.40GHz  16GB RAM  Win 10 Pro    Workstation : i5-xxxx @ x.xxGHz  16GB RAM  Win 10 pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, geeks, and more.    


Create new topic
98 posts

Master Geek


  Reply # 163839 11-Sep-2008 19:43
Send private message

integrating with Windows 2003 server for LDAP auth?

xpd



Chief Trash Bandit
9146 posts

Uber Geek
+1 received by user: 1443

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 164194 13-Sep-2008 12:22
Send private message

Yup, exactly what Im wanting to do :)




XPD / Gavin / DemiseNZ

 

Server : i3-3240 @ 3.40GHz  16GB RAM  Win 10 Pro    Workstation : i5-xxxx @ x.xxGHz  16GB RAM  Win 10 pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, geeks, and more.    


 
 
 
 


98 posts

Master Geek


  Reply # 164205 13-Sep-2008 13:11
Send private message

I have configured it successfully myself, but it was a while ago that I did it. When I get back to work on Monday I'll take a look at how I set it up and see if that can help.

xpd



Chief Trash Bandit
9146 posts

Uber Geek
+1 received by user: 1443

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 164445 15-Sep-2008 09:13
Send private message

That would be great, thanks very much :)




XPD / Gavin / DemiseNZ

 

Server : i3-3240 @ 3.40GHz  16GB RAM  Win 10 Pro    Workstation : i5-xxxx @ x.xxGHz  16GB RAM  Win 10 pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, geeks, and more.    


98 posts

Master Geek


  Reply # 164567 15-Sep-2008 17:37
Send private message

I'm not sure how XAMPP configures everything that's installed or if they do anything different/unusual. I didn't use XAMPP and installed the individual programs I needed independently. I'm running PHP Version 5.2.5 on my windows Apache based webserver.
Ensure you have the php_ldap.dll located in your PHP directory in the 'ext' folder and make sure that the extension_dir in PHP.ini is pointing to the correct location eg:
extension_dir="C:\Program Files\PHP\ext"

Restart Apache and load up a phpinfo page and you should have a listing for LDAP, it should be that simple. Getting authentication to work with Server 2003 is quite a bit more tricky but we can get to that once you have the LDAP extension operating correctly.

2096 posts

Uber Geek
+1 received by user: 357

Lifetime subscriber

  Reply # 164647 15-Sep-2008 22:01
Send private message

You may also need the line "extension=php_ldap.dll" in the php.ini file.




Ross

 

Spark FibreMAX using Mikrotik CCR1009-8G-1S-1S+

 


Speed Test


98 posts

Master Geek


  Reply # 164649 15-Sep-2008 22:08
Send private message

Spyware: You may also need the line "extension=php_ldap.dll" in the php.ini file.


yes, that too, I didn't mention it as I had misread where you said that you had uncommented the extension already but upon re-reading you said you'd uncommented it in Apache not PHP. you can find it under the Dynamic Extensions section of php.ini and uncomment it or just copy and paste that line to the end of the php.ini file.

xpd



Chief Trash Bandit
9146 posts

Uber Geek
+1 received by user: 1443

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 165097 17-Sep-2008 15:01
Send private message

Still no go... grrr.. frustrating Yell
I'll go over everything again tonight after Ive had some food... probably something obvious Ive missed Laughing
Thanks for your help so far :)




XPD / Gavin / DemiseNZ

 

Server : i3-3240 @ 3.40GHz  16GB RAM  Win 10 Pro    Workstation : i5-xxxx @ x.xxGHz  16GB RAM  Win 10 pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, geeks, and more.    


Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
Lifetime subscriber

  Reply # 165099 17-Sep-2008 15:14
Send private message

Don't know if it applies to your server, but when I had to integrate our firewall's VPN solution to AD, I had to manually enable LDAP access on Win2K3 following some article on www.petri.co.il.

Try using Softerra's LDAP Browser to test the access (and filters) to AD.




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown

98 posts

Master Geek


  Reply # 165103 17-Sep-2008 15:25
Send private message

just remembered something else.
you need to have PHP set in the system path on your webserver.

so to do this:
1. Right click my computer and choose properties.
2. go to the advanced tab
3. click environment variables
4. under system paths scroll down to the 'path' setting
5. edit the path and add the location of your PHP install with a semi colon separator at the end.
    e.g C:\Program Files\PHP\;
6. click ok however many times to return to the desktop.
7. restart the computer.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.