How get password or hash password in Laravel in Adldap?

40 Views Asked by At

I'm using the Adldap library to import users into a local database. When I try to look at the result of the dd() request, I see that the AD does not send the password.

$users = Adldap::search()->users()->select(['cn', 'samaccountname', 'objectguid', 'mail', 'useraccountcontrol', 'password'])->limit(5)->get();
dd($users);

Somehow to get the password or password hash and is this possible?

0

There are 0 best solutions below