45Drives Knowledge Base
KB450312 - Connecting SMB Share to Nextcloud
https://knowledgebase.45drives.com/kb/kb450312-connecting-smb-share-to-nextcloud/

KB450312 - Connecting SMB Share to Nextcloud

Posted on June 9, 2021 by Austin Axworthy


Scope/Description

Prerequisites

Steps

Installing smbclient package

Ubuntu

apt install smbclient

CentOS

yum install smbclient

Connecting SMB share to Nextcloud

 

Verification

Troubleshooting

KB450312 - Connecting SMB Share to Nextcloud - 45Drives Knowledge Base
Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB450312 – Connecting SMB Share to Nextcloud

You are here:

Scope/Description

  • This article describes the process to connect a samba share to Nextcloud.

Prerequisites

  • Samba Share configured
  • Nextcloud configured
  • Internet Access

Steps

Installing smbclient package

Ubuntu

apt install smbclient

CentOS

yum install smbclient

Connecting SMB share to Nextcloud

  • Go to https://SERVER-IP/nextcloud. Go to “Apps”, find “External Storage”, Click “Enable”.

  • Go to “Settings>>Admininstration>>External Storage”

  • Fill in required information, i.e. Name, SMB, IP, Path and samba login information. Click the check mark to connect.
      • Name: What you want the share / folder name to appear within NextCloud
      • External storage: SMB /CIFS
      • Authentication: Username and password
      • Configuration
        •  Host: IP or hostname of server
        •  Share: Name of share (NOT PATH TO SHARE, JUST THE NAME)
        •  Remote subfolder:
        •  Domain:
        • Username & Password: SMB credentials to access the Share

 

Verification

  • To verify the permissions are working correctly create a file on the nextcloud side. Access the server terminal check the permissions using ls -al. Make sure you are able to delete/edit in Nextcloud.

Troubleshooting

  • Note that whichever user is used to map the SMB share into Nextcloud will also be the owner user/group of the files if the SMB share is accessed locally.
Was this article helpful?
Dislike 25
Views: 16517
© 2024 - 45Drives Knowledge Base
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access