Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoS <github.com@koks.li>2016-10-23 20:28:10 +0300
committerGitHub <noreply@github.com>2016-10-23 20:28:10 +0300
commiteb092576f2234374fd0a851b657b1b07f7545c5d (patch)
tree7ebbe870bb708304b157a208f751aff30e23e6a7
parent4aadfd75c82b4ad33aa26953c18c3694d52a15b6 (diff)
IMAP login can be restricted to a specific domain name.
-rw-r--r--user_external/README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/user_external/README.md b/user_external/README.md
index 3138f023a..c6ab2661d 100644
--- a/user_external/README.md
+++ b/user_external/README.md
@@ -66,12 +66,16 @@ Add the following to your `config.php`:
array(
'class' => 'OC_User_IMAP',
'arguments' => array(
- '{127.0.0.1:143/imap/readonly}',
+ '{127.0.0.1:143/imap/readonly}', 'example.com'
),
),
),
This connects to the IMAP server on IP `127.0.0.1`, in readonly mode.
+If a domain name (e.g. example.com) is specified, then this makes sure that
+only users from this domain will be allowed to login. After successfull
+login the domain part will be striped and the rest used as username in
+NextCloud. e.g. 'username@example.com' will be 'username' in NextCloud.
Read the [imap_open][0] PHP manual page to learn more about the allowed
parameters.