GithubHelp home page GithubHelp logo

Comments (31)

jpuck avatar jpuck commented on July 27, 2024 1

@SamWantToBe I can confirm it works with multisite 4.7.2

If you really want to troubleshoot, note that errors are silenced by @ldap_bind on line 377 for the AD admin bind, and again during the actual user authentication on line 419. So you can un-squelch that ldap_bind and check your logs. Also, you might be able to get some more useful info from ldap_error

If that's not enough, then with xdebug installed you can set breakpoints in any IDE like Netbeans or PHPStorm and step through the execution line-by-line examining variable values to make sure they're what you expect.

Some common problems:

  • php-ldap is not installed on the server
  • SSL certificate is not trusted
  • firewall
  • AD user is not allowed to bind to LDAP server

from simple-ldap-login.

clifgriffin avatar clifgriffin commented on July 27, 2024

There weren't any major changes between 4.5.0 and 4.5.2 so you can assume it will work with any 4.5.x release.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

This plug-in in not working at all. I have checked with the linux admin for settings. He insists this has nothing to do with the Admin end. He tells me its a problem with windows authentication. Is that correct? I have completed all the settings with linux Admin verification under the Simple Admin tab. I have selected to use it with Active Directory not Open Directory. I have a pile of users claiming they can't login. How can u help please

from simple-ldap-login.

clifgriffin avatar clifgriffin commented on July 27, 2024

Hi Sam,

SLL has over 3000 active installs. If you are having an issue logging in, it's because you have not configured the plugin correctly.

Clif

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

jpuck avatar jpuck commented on July 27, 2024

You'd better be using SSL on the wordpress web server, lest your users will be broadcasting their passwords across the internet in plain text for the whole world to see.

https://youtu.be/PdnpNJZVUE0

But my comment was about the certificate on the LDAP server. If it's not trusted by the web server, then the connection will fail to even initiate.

But none of this can be determined without server file system access. I suggest you get your own test server (you can get one from Amazon free for a year), install wordpress, and test it out. Otherwise, it's your sys admin's job to be the one troubleshooting this because all you can do is verify your settings are correct.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

clifgriffin avatar clifgriffin commented on July 27, 2024

MAMP is intended only for local development.

Honestly, Jeff is right. An experienced system administrator is a must.

That doesn't mean you can't figure it out...we all start somewhere. But the questions you are asking indicate that you have a steep learning curve ahead, and without experience it would be very easy for you to break things.

My guess based on your questions is that your website is currently on shared hosting like GoDaddy or Bluehost, in which case your site likely has no ability to communicate with your LDAP server. The proper arrangement would be to have your web server on the same network as your LDAP server, so that they can communicate over the private network.

Web traffic would then be served over the public network.

If I were in your shoes, I would advocate for your company to contract with a sys admin as you will likely need to rearchitect your network a bit to succeed here.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

clifgriffin avatar clifgriffin commented on July 27, 2024

@SamWantToBe I've actually never used TLS with SLL personally. I added in the feature based on requests, but I wouldn't be the right person to ask.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

jpuck avatar jpuck commented on July 27, 2024

@SamWantToBe the plugin uses wordpress's native login screen. there is no additional front-end component.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

jpuck avatar jpuck commented on July 27, 2024

@SamWantToBe I'm not really familiar with the code base, but as far as I know it doesn't have any special logging capabilities. so all logging defers to the server's php.ini settings - which could be different for everyone. for example, on an Ubuntu server running the default Apache virtual host installed through Canonical's official package repositories, you could find the logs under /var/log/apache2/error.log and /var/log/apache2/access.log but by default these files require either sudo or membership in the adm group to access. you mentioned earlier that you removed the @ which should have allowed any errors to be logged, so I'm not sure what logs you checked considering you mentioned that you didn't have shell access to the host machine. in general, server logs are sensitive, so this is something to which your system administrator will have to grant you access.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

jpuck avatar jpuck commented on July 27, 2024

@SamWantToBe I was just thinking about you as I was updating some of our documentation for using this plugin. If you're still having problems, then maybe this could help.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

jpuck avatar jpuck commented on July 27, 2024

@SamWantToBe leave the box unchecked. If you check that box, then non-ldap users will not be able to login.

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

clifgriffin avatar clifgriffin commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

SamWantToBe avatar SamWantToBe commented on July 27, 2024

from simple-ldap-login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.