Adldap2/Adldap2-Laravel

VueJS Webapp, Laravel Backend and filter command.

Groganj89 opened this issue · 1 comments

  • Laravel Version: 5.8
  • Adldap2-Laravel Version: Latest
  • PHP Version: 7.4
  • LDAP Type: Active Directory

Description:

I want to incoporate adldap2 into my webapp which is built with VueJS front end and a Laravel backend. I have added a component that the customer will enter the ldap information into and it saves to the database.

What I need to now do is use the controller / database information my webapp has provided to configure the \config\ldap.php, When I try to code this, it kills the whole webapp. I also need to ask, using the command with a filter, (eg, php artisan adldap:import --model "App\Person" --filter="(memberof=CN=test-group,OU=Security Groups,OU=MyBusiness,DC=testdomain,DC=local)")

What I want to do is populate the filter with information from the database, such as,

php artisan adldap:import --model "App\Person" --filter="(memberof=CN=DATABASE_GROUP,OU=Security Groups,OU=MyBusiness,DC=DATABASE_BASE_DN)"

is this possible?

Hello, any update on this?