Page 1 of 1

Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/10 08:26:12
by ogosselin
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

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/13 19:35:29
by ogosselin
no idea ?

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/13 19:57:49
by Thraex
You can try adding some -v's to your mount command to see what's going on or check the samba log file

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/13 20:12:50
by ogosselin
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,

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/13 20:14:34
by ogosselin
And before Upgrade all things worked fine. :( :(

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/13 20:32:59
by TrevorH
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.

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/14 17:02:59
by ogosselin
Hi,
I tried to disable SMB1 but no change.

Code: Select all

min server protocol = SMB2
or

Code: Select all

protocol = SMB2
Thank you

Re: Samba version 4.8.3 - CIFS Issue

Posted: 2019/06/15 09:45:14
by ogosselin
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,