jeudi 6 décembre 2018

Why i cannot add a filter in my ldap query? Laravel 5 - ADALP2

I need help to perform an ldap search like ldap_search($connect, $base_dn, $filter).

So far, I have managed to get an answer with this request

Adldap::search()->findByDn($userdn)

but I can't add a filter like cn="username" in the request....

I tried a lot of things but nothing worked!

So if someone know how to search with the base_dn and add a filter to get something like this :

SRCH base=ou=xxx,dc=xxx,dc=xxx,dc=xxx scope=2 filter=cn=johnDoe

?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2zKMFV0
via IFTTT

Aucun commentaire:

Enregistrer un commentaire