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

xpd

Geek @ Coastguard NZ
13765 posts

Uber Geek

Retired Mod
ID Verified
Trusted
Lifetime subscriber

#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 ?




       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 


Create new topic
MrAlan
98 posts

Master Geek


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

integrating with Windows 2003 server for LDAP auth?



xpd

xpd

Geek @ Coastguard NZ
13765 posts

Uber Geek

Retired Mod
ID Verified
Trusted
Lifetime subscriber

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

Yup, exactly what Im wanting to do :)




       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 


MrAlan
98 posts

Master Geek


  #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

xpd

Geek @ Coastguard NZ
13765 posts

Uber Geek

Retired Mod
ID Verified
Trusted
Lifetime subscriber

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

That would be great, thanks very much :)




       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 


MrAlan
98 posts

Master Geek


  #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.

Spyware
3761 posts

Uber Geek

Lifetime subscriber

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

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




Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.


MrAlan
98 posts

Master Geek


  #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.

 
 
 
 

Send money globally for less with Wise - one free transfer up to NZ$900 (affiliate link).

xpd

xpd

Geek @ Coastguard NZ
13765 posts

Uber Geek

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #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 :)




       Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand

 

                      LinkTree

 

 

 


magu
Professional yak shaver
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  #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

MrAlan
98 posts

Master Geek


  #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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.