LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2019, 07:08 AM   #1
wawacorp
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Unable create a samba share on Fedora 31 using smb 4.11.2


Hello world!

Just switched to Fedora 31 and want to have a public share via Samba over my network with password authentication. However I can't somehow connect to my samba share due to this error message in 'log.smbd':

Code:
../../source3/smbd/service.c:781(make_connection_snum)
  make_connection_snum: canonicalize_connect_path failed for service Fedora_SSD, path /mnt/Wawadisk
[2019/12/13 11:36:50.973394,  0] ../../source3/smbd/server.c:1775(main)


This is my smb.conf:

Code:
[global]

workgroup = WORKGROUP
security = user
map to guest = bad user
guest account = nobody  

[Fedora_SSD]
        path = /mnt/Wawadisk
        writeable = yes
        browseable = yes
        guest ok = yes
        guest only = yes
        create mask = 0777
        directory mode 0777
        force user = nobody
WIth the Folder permission set to:

Code:
4.0K drwxrwxrwx.  7 nobody nobody 4.0K Dec 13 11:09 Wawadisk/

I have tried serveral smb.conf options, but nothing helps.

Anyone some insights on what I'm not getting here?

Any help would be much appreciated!
 
Old 12-13-2019, 11:51 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,013

Rep: Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947
Welcome to LinuxQuestions.org. A similar question asked here, with an answer that may also be relevant to your situation...
https://discussion.fedoraproject.org...verblue/1570/6

In particular...
Quote:
Hi @omichalek,

Yes, your problem is SELinux is preventing access to samba. The link below should help and I also included another link to the Fedora Samba Guide.

SELinux fix: https://linux.die.net/man/8/samba_selinux 7

Fedora Samba Guide: https://docs.fedoraproject.org/en-US...Print_Servers/ 3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: Create a Samba share from command line (NOT with smb.conf) haertig Linux - Software 5 03-12-2013 08:21 PM
smb.log / smb.conf problem (printcap) on VU+DUO tuner using Samba xlarge Linux - Newbie 0 01-04-2011 06:10 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 10:03 AM
Placing a SMB share inside an NFS share grittyminder Linux - Networking 0 05-14-2008 04:49 AM
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration