PHP laravel Adldap- Migration from 4.2 to 9

19 views Asked by At

I am migrating laravel 4.2 to laravel 9 and in laravel 4.2 we have used adLDAP package and in laravel 9 we are using Adldap2. In laravel 4.2 we had manually create the connections and use folder()->listing() method for getting users attributes. How to Use it in Laravel 9 as I have installed Adldap2.

Instead of the folder()->listing() I tried with Adldap->search()->in(basedn)->select()->get(); I got 10000 arrays with Adldap\Model\groups or User or OU. But I couldn't iterate through thatas the values showed null

0

There are 0 answers