I have an old CentOS 6 machine that needs to mount a share from a samba active directory. It was working when the AD DC was running samba 4.4.5, but it stopped working when the AD DC was updated to 4.5.6. In both cases the samba member server that hosts the share is running 4.5.6. The version of cifs-utils on the CentOS 6 machine is 4.8.1. The same samba share can be mounted successfully from a CentOS 7 machine, which has cifs-utils version 6.2-9. The verbose mount command looks like this: [root at ftpServer ~]# mount.cifs --verbose //192.168.254.35/projects /mnt/smb -o username=enginuser,domain=example.lan Password: mount.cifs kernel mount options: ip=192.168.254.35,unc=\\192.168.254.35\projects,,ver=1,user=enginuser,domain=example.lan,pass=****** mount error(13): Permission denied Any suggestions appreciated. Mark
On 09/18/2017 1:53 PM, Mark Nienberg via samba wrote:> I have an old CentOS 6 machine that needs to mount a share from a samba > active directory. It was working when the AD DC was running samba 4.4.5, > but it stopped working when the AD DC was updated to 4.5.6. In both cases > the samba member server that hosts the share is running 4.5.6. > > The version of cifs-utils on the CentOS 6 machine is 4.8.1. > > The same samba share can be mounted successfully from a CentOS 7 machine, > which has cifs-utils version 6.2-9. > > The verbose mount command looks like this: > > [root at ftpServer ~]# mount.cifs --verbose //192.168.254.35/projects /mnt/smb > -o username=enginuser,domain=example.lan > > Password: > > mount.cifs kernel mount options: > ip=192.168.254.35,unc=\\192.168.254.35\projects,,ver=1,user=enginuser,domain=example.lan,pass=****** > > mount error(13): Permission denied > Any suggestions appreciated. > > MarkMark, Try the "vers=3.0" option. That's what fixed mine. Dale
On Mon, Sep 18, 2017 at 1:33 PM, Dale Schroeder < dale at briannassaladdressing.com> wrote:> > > Try the "vers=3.0" option. That's what fixed mine. > >I suspect my old version of cifs-utils doesn't understand that option. Note the output says "vers=3.0,ver=1": mount.cifs --verbose //192.168.254.35/projects /mnt/smb -o vers=3.0,username=tmadmin,domain=example.lan Password: mount.cifs kernel mount options: ip=192.168.254.35,unc=\\192.168.254.35\projects,vers=3.0,ver=1,user=tmadmin,domain=example.lan,pass=****** mount error(13): Permission denied