我正在使用 Laravel 5.4 而我已安装Adldap2-Laravel
当我尝试使用此配置连接到LDAP服务器时:
$config = [ // Mandatory Configuration Options
'domain_controllers' => ['sampledommain.com'],
'base_dn' => 'dc=com,DC=sampledommain',
'admin_username' => 'svc-123456',
'admin_password' => '123456',
];
// Create a new Adldap Provider instance.
$provider = new \Adldap\Connections\Provider($config);
$ad = new \Adldap\Adldap($config);
我收到了这个错误:
Option 0 does not exist.