TurnKey Linux Virtual Appliance Library

ldap support for Joomla

I can't get LDAP authentication to work in the Joomla 1.5 app.

I ran JDiagnostic and it says the php ldap module isn't loaded

I tried do an apt-get install php5-ldap and the server can't find the package

Is this something to do with the way the repositories are set up?

If so can you tell me how to change them to enable the php-ldap modules to be downloaded (the repositories system seems to be non-standard -for Ubuntu)

Cheers

Andy J

Alon Swartz's picture

You need to resynchronize your package index

Try this:
apt-get update
apt-get install php5-ldap

ldap joomla -solved!

alon
Thanks for your quick reply, however I did this and I still couldn't get the packages.

I did solve the problem...the repository list is in a file
/etc/apt/sources.list.d folder
sources.list wasn't actually configured to look on the gb ubuntu sites.(http://gb.archive.ubuntu...etc...)
I just copied my working ubuntu server settings and it all works now

Cheers
AJ
Alon Swartz's picture

Glad to hear all is working

The default sources.list is configured to pull from ubuntu's main package repository: http://archive.ubuntu.com.

http://gb.archive.ubuntu.com is just a mirror of the main package repository, so I don't see why it would make a difference, besides being a little faster due to your location.

Anyway, glad to hear all is working.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)