Ldaprecord-laravel: Can't install: Option auto_connect does not exist

Created on 5 Feb 2020  路  1Comment  路  Source: DirectoryTree/LdapRecord-Laravel

  • Laravel Version: 6.14
  • PHP Version: 7.3.11
  • LDAP Type: ActiveDirectory

Description:

I can't install the software. When I run composer require directorytree/ldaprecord-laravel I get this error: LdapRecord\Configuration\ConfigurationException : Option auto_connect does not exist.

Installation fails and composer.json gets reverted to its original status.

Steps To Reproduce:

Run composer require directorytree/ldaprecord-laravel

Most helpful comment

Hi @alameda-intranet,

You must be migrating from Adldap2-Laravel? You need to delete your ldap.php file and republish it using php artisan vendor:publish

If you have done this, you must have added the auto_connect key manually, but this option has been removed as it is no longer necessary. LDAP connections are now created upon use, rather than upon boot - as it was with Adldap2-Laravel.

>All comments

Hi @alameda-intranet,

You must be migrating from Adldap2-Laravel? You need to delete your ldap.php file and republish it using php artisan vendor:publish

If you have done this, you must have added the auto_connect key manually, but this option has been removed as it is no longer necessary. LDAP connections are now created upon use, rather than upon boot - as it was with Adldap2-Laravel.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BrunMartins picture BrunMartins  路  4Comments

jagDanJu picture jagDanJu  路  8Comments

AlexH269 picture AlexH269  路  4Comments

gerardorourke picture gerardorourke  路  6Comments

satyakresna picture satyakresna  路  7Comments