Describe the bug:
I'm following the docs and trying to connect to ldap. I try to use .ENV and published configs, but when I test using the command from documentation, the result is every the same as bellow.
conection -> default
successfull -> no
username -> ldap@grupoatto
message -> ldap_connect(): Could not create session handle: Bad parameter to an ldap routine. Error Code: [2]
I try to connect with vannilla PHP to test, and it can connect.
Environment:
Describe the bug: I'm following the docs and trying to connect to ldap. I try to use .ENV and published configs, but when I test using the command from documentation, the result is every the same as bellow.
conection -> default successfull -> no username -> ldap@grupoatto message -> ldap_connect(): Could not create session handle: Bad parameter to an ldap routine. Error Code: [2]
I try to connect with vannilla PHP to test, and it can connect.
`<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class TestLdapConnection extends Command { protected $signature = 'ldap:test-command'; protected $description = 'Test LDAP connection';
}`
I don't know if I'm wrong, or where I did go wrong, I just followed the documentations