Hi Guys,
New user here - I have LDAP working correctly with the authLDAP plugin and the latest Docker image. When trying to get LDAPS working, I simply change the server to ldaps:// and port to 636 - is there anything else I need to change?
I've confirmed I can telnet to port 636
When trying to use LDAPS I'm getting the following error at login:-
LDAP: couldn't connect to LDAP server
Can't contact LDAP server [auth.php:621]
Sorry, username or password was wrong.
Config:
$conf['title'] = 'Wiki';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['authtype'] = 'authldap';
$conf['superuser'] = '@admin';
$conf['userewrite'] = '1';
$conf['plugin']['authldap']['server'] = 'ldaps://myldapserver.private';
$conf['plugin']['authldap']['port'] = 636;
$conf['plugin']['authldap']['usertree'] = 'ou=USERS,dc=XX,dc=XX';
$conf['plugin']['authldap']['grouptree'] = 'ou=GROUPS,dc=XX,dc=XX';
$conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAccount))';
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(|(gidNumber=%{gid})(memberUID=%{user})))';
$conf['plugin']['authldap']['version'] = 3;
$conf['plugin']['authldap']['binddn'] = 'cn=BINDACC,ou=USERS,dc=XX,dc=XX';
$conf['plugin']['authldap']['bindpw'] = '<b>XXXXXXX';
$conf['plugin']['authldap']['attributes'] = array();
$conf['plugin']['authldap']['debug'] = 1;
$conf['plugin']['authldap']['modPass'] = 0;