From 9a709cb5e92a0af32fc1fe837489d661aa4f1ee7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 30 Nov 2018 18:22:05 +0100 Subject: [PATCH] Update external user management docs Signed-off-by: Morris Jobke --- .../user_auth_ftp_smb_imap.rst | 74 +++++++++---------- 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ftp_smb_imap.rst b/admin_manual/configuration_user/user_auth_ftp_smb_imap.rst index 97ecc6259..56622779e 100644 --- a/admin_manual/configuration_user/user_auth_ftp_smb_imap.rst +++ b/admin_manual/configuration_user/user_auth_ftp_smb_imap.rst @@ -8,22 +8,20 @@ syntax: :: - 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 :: - 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 :: - 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 :: - array ( - 0 => array ( - "class" => "OC_User_FTP", - "arguments" => array ( - 0 => 'localhost' - ), - ), - ), + "user_backends" => [ + [ + "class" => "OC_User_FTP", + "arguments" => [ + 'localhost' + ], + ], + ],