mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Update external user management docs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
@@ -8,22 +8,20 @@ syntax:
|
||||
|
||||
::
|
||||
|
||||
<?php
|
||||
|
||||
"user_backends" => array (
|
||||
0 => array (
|
||||
"class" => ...,
|
||||
"arguments" => array (
|
||||
0 => ...
|
||||
),
|
||||
),
|
||||
),
|
||||
"user_backends" => [
|
||||
[
|
||||
"class" => ...,
|
||||
"arguments" => [
|
||||
...
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
.. note:: A non-blocking or correctly configured SELinux setup is needed
|
||||
for these backends to work. Please refer to the :ref:`selinux-config-label`.
|
||||
|
||||
Currently the “External user support” (user_external) app, which you need to
|
||||
enable first (See :doc:`../installation/apps_management_installation`)
|
||||
enable first (See :doc:`../apps_management`)
|
||||
provides the following user backends:
|
||||
|
||||
IMAP
|
||||
@@ -37,16 +35,14 @@ Provides authentication against IMAP servers
|
||||
|
||||
::
|
||||
|
||||
<?php
|
||||
|
||||
"user_backends" => array (
|
||||
0 => array (
|
||||
"class" => "OC_User_IMAP",
|
||||
"arguments" => array (
|
||||
0 => '{imap.gmail.com:993/imap/ssl}'
|
||||
),
|
||||
),
|
||||
),
|
||||
"user_backends" => [
|
||||
[
|
||||
"class" => "OC_User_IMAP",
|
||||
"arguments" => [
|
||||
'{imap.gmail.com:993/imap/ssl}'
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
SMB
|
||||
---
|
||||
@@ -60,16 +56,14 @@ Provides authentication against Samba servers
|
||||
|
||||
::
|
||||
|
||||
<?php
|
||||
|
||||
"user_backends" => array (
|
||||
0 => array (
|
||||
"class" => "OC_User_SMB",
|
||||
"arguments" => array (
|
||||
0 => 'localhost'
|
||||
),
|
||||
),
|
||||
),
|
||||
"user_backends" => [
|
||||
[
|
||||
"class" => "OC_User_SMB",
|
||||
"arguments" => [
|
||||
'localhost'
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
FTP
|
||||
---
|
||||
@@ -83,13 +77,11 @@ Provides authentication against FTP servers
|
||||
|
||||
::
|
||||
|
||||
<?php
|
||||
|
||||
"user_backends" => array (
|
||||
0 => array (
|
||||
"class" => "OC_User_FTP",
|
||||
"arguments" => array (
|
||||
0 => 'localhost'
|
||||
),
|
||||
),
|
||||
),
|
||||
"user_backends" => [
|
||||
[
|
||||
"class" => "OC_User_FTP",
|
||||
"arguments" => [
|
||||
'localhost'
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user