Samba version 4.8.3 - CIFS Issue

General support questions
Post Reply
ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/10 08:26:12

Hi guys,
After an Upgrade CIFS stoped working between MacOS and Centos server as well as between Centos OS and Centos server. But I can access to the share with a Windows.
When I'm trying to access to share with CIFS on centos I always have this error :

Code: Select all

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Thank for your help.

More informations :
[ ~]# cat /etc/samba/

Code: Select all

[global]
        workgroup = MyDomain
        server string  = Samba Server Version %v
        hosts allow = <MyIP Range>
        log file = /var/log/samba/log.%m
        max log size = 50
        security = ads
        encrypt passwords = yes
        passdb backend = tdbsam
        realm = MyDomain.local
        load printers = no
        cups options = raw
        printcap name = /dev/null
        
[Share]
comment = Title
path = /media/Share
public = no
writable = yes
guest ok = no
read only = no
valid users = @"nfs-admin@home.local", service@home.local, root
Thanks,
Olivier

ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Re: Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/13 19:35:29

no idea ?

Thraex
Posts: 12
Joined: 2019/05/14 19:50:28

Re: Samba version 4.8.3 - CIFS Issue

Post by Thraex » 2019/06/13 19:57:49

You can try adding some -v's to your mount command to see what's going on or check the samba log file

ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Re: Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/13 20:12:50

Hi,
I already test to add ver=x.x in mount without success. But on windows, I can show read and right my share folder. But not on centos and MacOS.

Thank you,

ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Re: Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/13 20:14:34

And before Upgrade all things worked fine. :( :(

User avatar
TrevorH
Forum Moderator
Posts: 25806
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Samba version 4.8.3 - CIFS Issue

Post by TrevorH » 2019/06/13 20:32:59

He means like mount -vvv ... in order to get more debug info but the most likely cause of this problem will be the removal of the SMB1 protocol on just about all platforms.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Re: Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/14 17:02:59

Hi,
I tried to disable SMB1 but no change.

Code: Select all

min server protocol = SMB2
or

Code: Select all

protocol = SMB2
Thank you

ogosselin
Posts: 6
Joined: 2019/06/10 08:06:36

Re: Samba version 4.8.3 - CIFS Issue

Post by ogosselin » 2019/06/15 09:45:14

Hi,
I solved this issue.

I installed package :

Code: Select all

yum install samba-winbind
Then, I Started deamon

Code: Select all

systemctl start winbind.service
But I cann't get log in with active directory with a group. Only with a specific User added in smb.conf.

Thank you,
Regards,

Post Reply