Comments (31)
@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.
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.
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.
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.
from simple-ldap-login.
from simple-ldap-login.
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.
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.
from simple-ldap-login.
from simple-ldap-login.
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.
from simple-ldap-login.
@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.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
@SamWantToBe the plugin uses wordpress's native login screen. there is no additional front-end component.
from simple-ldap-login.
from simple-ldap-login.
@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.
from simple-ldap-login.
@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.
from simple-ldap-login.
@SamWantToBe leave the box unchecked. If you check that box, then non-ldap users will not be able to login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
from simple-ldap-login.
Related Issues (20)
- PHP Warning on preg_replace() HOT 2
- [query] How are legacy Wordpress credentials migrated to LDAP? HOT 3
- Support for use as an mu-plugin on multisite HOT 5
- Support "member" attribute in groups (in addition to "memberOf" in users) HOT 1
- [query] What syntax is required for "Required groups" field? HOT 1
- Cannot authenticate users in different OUs against parent DN
- Implement login on specific pages
- Debug log complains: "Undefined variable: version" HOT 4
- Account Suffix Behaving wierdly
- LDAP-for-Plex
- Network Requirements
- Handling secondary email addresses HOT 1
- Simple LDAP Login could not authenticate your credentials
- The display name is not set when a user is created with LDAP. HOT 2
- Fatal Error HOT 1
- data is not saved
- How to add a new user without saving the password in the database
- ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
- Deprecated Warning: Array and string offset access syntax using curly braces is deprecated HOT 1
- Plugin Debug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-ldap-login.