cache total  user count
Backport \OC\Security\Crypto to ownCloud 7

Conflicts:
	lib/repair/repairconfig.php
Only store user credentials when SMB_OC storage is enabled
add ldap-search command to occ
LDAP search filter creation changes:

1. do not prepend * wildcard to search terms. Will result in faster search, but
you don't find "foobar"  when looking for "bar"
2. advanced behaviour when search string contains a space and multiple search
attributes are present. The search string is split into single words. The
resulting filter requires that each word at least appears once in any search
attribute. This is supposed to return better results in big LDAPs.
Check for XMLWriter class

Backport of https://github.com/owncloud/core/pull/12321
Update
Merge pull request #12496 from owncloud/check-xml-writer-for-7

Check for XMLWriter class
Merge pull request #11747 from owncloud/storeCredentialsOnlyInSessionIfRequired

Store credentials only in session if required
Allow read-only configuration

Workaround required for IIS setups running ownCloud to prevent dataloss.

Long-term solution would be to move some configuration settings to the database

Conflicts:
	lib/base.php
	settings/admin.php
7.0.4 RC1
add proper description what database is supported by CE and EE
Merge pull request #12528 from owncloud/backport-12419

Allow read-only configuration
trim search string before passing it on
password column needs to allow null otherwise Oracle will break for empty passwords
Merge pull request #12493 from owncloud/ldap_search_perf

LDAP search behaviour modifications
Merge pull request #12309 from owncloud/ldap-cache-user-count

LDAP: cache total  user count
Merge pull request #12623 from owncloud/fix-s2s-oc7

password column needs to allow null (oc7 backport)
Merge branch 'stable7-upstream' into stable7-rotdrop
7.0.4 RC2