Jump to:

10842 Posts in 2512 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » ldap auth_external - blank page solution

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1804 Views
  • woodb2
    Avatar
    Community Member
    48 Posts

    ldap auth_external - blank page solution Link to this post

    Just posting this because I've spent a couple of days trying to get my ldap login to work again. There a a couple of posts in the old forum that this solution may fix, but since they're read only I'm posting what worked for me in the new forum.

    I had 2 servers running SilverStripe with ldap working just fine. One of the servers (my test server) I decided to update to the latest version of Ubuntu (I was behind many versions). I did a clean install which meant I'd have to start from scratch. I got apache2, php5, mysql going without much problem. I reloaded my web root directory that had my Silverstripe installations and they worked just fine. Fine, until I tried to log in to one of them using ldap.

    I would enter my ldap ID and password and got nothing but a blank screen. I could long in with email and password but, auth_external wasn't working.

    Comparing my PHP environment between my working and broke server I saw that the working site's php environment had an LDAP module.

    There's a package called php5-ldap that I needed to install. After a restart of apache, all was working again.

    Hopefully this helps someone. It could have save me a couple of days of hunting around. Maybe it should be listed with the requirements for the auth_external module. I read the README, but it didn't list this as a requirement.

  • lancer
    Avatar
    57 Posts

    Re: ldap auth_external - blank page solution Link to this post

    It is noted in the documentation of 0.3.0. On top of that 0.3.0 has debug features to find these kinds of problems in an easy way. 0.3.0 is 2.3.0+ only.

    (At the moment you want to use the latest from trunk. Some bugs were fixed)

    1804 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.