Confused – can’t authenticate
-
Hi,
I’m being very cheeky here as it isn’t your plugin that’s failing but I’m at my wits end so hoping you don’t mind ??
I’ve been using wpDirAuth for quite a while now and it’s working fine on the server I have running. However, for a number of reasons I’m having to rebuild on a new server and for the life of me I can’t get LDAP to bind correctly. I’m currently trying to figure out whether LDAP is reliant on anything other than php-ldap to work correctly (I.E. have I not installed/configured something right!)
Any guidance you can give would be much appreciated!
Extra Info:
Working server is a CentOS 7.4 box running a Docker container based on PHP7 version of WordPress (https://github.com/SteveCliff/wpstandard/blob/master/Dockerfile)
Non-working server is a non-Docker CentOS 7.4 box running Nginx but again on PHP7 (remi release)
I’ve migrated the WordPress site over to the new server and wpDirAuth initially raised an error saying there wasn’t LDAP support. (I’d forgotten to install php-ldap but after I did that the error went away). Whatever I try though I keep getting a bind error.
I’ve gone through each dirAuth entry in wp_options to make sure that the settings are the same but no joy. I can telnet through to my LDAP server ok though so the network routing is fine.
Because I was having so many issues I downloaded your LDAP PHP test code to try with and that won’t bind either (so definitely not your plugin ?? )
NB. I don’t think your test code would work all the way for me anyway as I have some odd filtering to get our LDAP working correctly – but I was hoping for it to get past the bind and then fail on the search.
Are there any general hints/tips you can give me to check up on at all given your experience of LDAP?
Thanks!
Steve.
- The topic ‘Confused – can’t authenticate’ is closed to new replies.