only check ldap_errno if an ldap_* function actually fails
fix wizard errors
reset search paging right after the search, not before some of the possible next search operations
cookie contains binary characters, don't log it
  (avoids json_encode(): Invalid UTF-8 sequence in argument errors)
"reset" ldap pagedSearch control by setting it to a high value
call nextEntry via invokeLDAPMethod
"reset" ldap pagedSearch control by setting it to a high value
add cache for single users
Added improved version of patch by @blizzz in https://github.com/owncloud/core/issues/6651#issuecomment-32261257 to stop filter settings from being reset under a race condition.
Moved LdapFilter into a separate js file in user_ldap.
upgrade the cache user
update the cache when add user
fix undefined  in loadUsers
minor clean code
add query result (boolean) for update or delete
fix undifined uid
fix cache when remove an user
remove static variable, add limit and offset
fix remove cache when delete
Changed conditions in user_ldap's ldapFilter.js to use ===, fixed indentation.
remove cache all user
Add option to getUsersSharingFile() to get the paths for the shared users
Do not query when the list is empty
Merge branch 'ldap-filter-reset-fix' of github.com:ben-denham/core into fix-6651