Adldap2 / Adldap2-Laravel

LDAP Authentication & Management for Laravel
MIT License
911 stars 185 forks source link

Exception error: ldap_search(): Search: Operations error #819

Open darkjet1993 opened 4 years ago

darkjet1993 commented 4 years ago

Description:

I never used before this extension and I try to follow instructions of guide and i can login only with user format: %s@domain.com. I want to synchronize users into my database to users can connect if Ad is not available. but when i use "php artisan adldap:import" command it doesn't operate. I don't know why (I use username column instead of email)

ErrorException: ldap_search(): Search: Operations error

ldap_search("DC=something,DC=local", "(&(objectclass=\75\73\65\72)(objectcategory=\70\65\72\73\6f\6e)(!(objectclass=\63\6f\6e\74\61\63\74)))") \vendor\adldap2\adldap2\src\Connections\Ldap.php:279

Adldap\Connections\Ldap::search("DC=something,DC=local", "(&(objectclass=\75\73\65\72)(objectcategory=\70\65\72\73\6f\6e)(!(objectclass=\63\6f\6e\74\61\63\74)))") vendor\adldap2\adldap2\src\Query\Builder.php:474

vidyamw commented 4 years ago

Does anyone found solution on above issue?