adldap2 search issue
Adldap 2.1.* didn't want to search by more than one character. When I try to search this like: $result=Adldap::search()->where('cn','contains','i')->get(); I've 1000 result because of the limit. $result[0]->cn returns 'misho' but... $result=Adldap::search()->where('cn','contains','is')->get(); Last one is empty. I've large AD and it is imposible.
Simulteniously when I replace get() with paginate() like the line below: Adldap::search()->where('cn','contains','i')->paginate(10,10); Result is: ErrorException in Ldap.php line 221: ldap_search(): Search: Can't contact LDAP server
Can anybody help?
Please or to participate in this conversation.