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

Uber Geek
+1 received by user: 1303

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

Uber Geek
+1 received by user: 1303

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

Uber Geek
+1 received by user: 1303

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.

2006 posts

Uber Geek
+1 received by user: 325

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

Uber Geek
+1 received by user: 1303

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 »

Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03


The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56


Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47


Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23


Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47


Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38


Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00


Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01


DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08


Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55


Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44


Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38


KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32


FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57


New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44



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.