> I have tested the following and does not work but normal Port 389 works
> $c->authenticate_hook['call'] = 'LDAP_check';
> $c->do_not_sync_from_ldap = array( 'admin' => true );
> $c->authenticate_hook['config'] = array(
> 'host' => 'ldaps://dc1.ad.sensepost.com',
> 'port' => '636',
> 'protocolVersion' => '3',
I'd say this should work, but have you tried putting the port into the
ldaps:// string as well? I haven't looked at the code but the docs sound
a bit like "if you want SSL-on-connect instead of startTLS, the 'host'
setting has to be a complete URI"...