I am trying to connect yii2 with the zappo LDAP using the Adldap2 plugin, I do not get any errors I have tried from the yii console and ldapcmd / import-all-users, the command is executed without any error but from the application I can not login This is the configuration made
'authManager' => [
'class' => 'yii\rbac\DbManager',
],
'ad' => [
'class' => 'Edvlerblog\Adldap2\Adldap2Wrapper',
'providers' => [
'default' => [
//Connect this provider on initialization of the LdapWrapper automatically
'autoconnect' => true,
'config' => [
// 'account_prefix' => 'mail=',
'account_suffix' => '',
'domain_controllers' => ['zimbra.gporellana.gob.ec'],
'base_dn' => 'dc=gporellana,dc=gob,dc=ec',
'admin_username' => 'uid=myuser,cn=users,cn=zimbra',
'admin_password' => 'mypassword',
//Enable SSL
//'port' => 636,
// 'use_ssl' => true,
// 'use_tls' => true,
]
],
//another provider
]
],
I am using the rbac authentication method