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
8795 posts

Uber Geek
+1 received by user: 1283

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

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


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
8795 posts

Uber Geek
+1 received by user: 1283

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

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


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
8795 posts

Uber Geek
+1 received by user: 1283

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

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


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.

1981 posts

Uber Geek
+1 received by user: 319

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
8795 posts

Uber Geek
+1 received by user: 1283

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

 

For Free Games, Geekiness and Reviews, visit :

 

Home Of The Overrated Raccoons

 

Battlenet : XPD#11535    Origin/Steam/Epic/Uplay : xpdnz


Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
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:





News »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



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.

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