Hallo, perhaps someone hat a hint vor me. My centos 7 samba Server ist working fine using Win10 Clienst with Domaine-Integration. Shares are browseable and access is possible with a sepearte login.
My problem: I want to mount this shares from a centos7 client. This fails with the following mesages. I tried several variations in my fstab found in the internet. Can anyone give me a hint to to access an samba-server that is working fine against a Win2016 Domain-Cotroller?
Thanks Rakf
Apr 15 05:37:47 6805ca01a270 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Apr 15 05:37:47 6805ca01a270 kernel: CIFS VFS: Send error in SessSetup = -13 Apr 15 05:37:47 6805ca01a270 kernel: CIFS VFS: cifs_mount failed w/return code = -13 Apr 15 05:37:52 6805ca01a270 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: Send error in SessSetup = -13 Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: cifs_mount failed w/return code = -13
smb.conf
[global] Workgroup = COMLINE security = ads encrypt passwords = yes passdb backend = tdbsam realm = comline.de printing = cups printcap name = cups load printers = yes cups options = raw map to guest = bad user
[share_gov_srvgovrcpbuild_clients] comment = share für gov projekt rcpbuild clients path = /mnt/raid01/share_volumes_gov_srvgovrcpbuild_clients_smb browseable = yes comment = Share für alle guest ok = yes writeable = yes read only = no force user = root create mask = 0777 directory mask = 0777 public = yes
Mount.smb is way down-rev. It doesn't support the newer smb options
On Tue, Apr 14, 2020, 9:46 PM Ralf Prengel ralf.prengel@rprengel.de wrote:
Hallo, perhaps someone hat a hint vor me. My centos 7 samba Server ist working fine using Win10 Clienst with Domaine-Integration. Shares are browseable and access is possible with a sepearte login.
My problem: I want to mount this shares from a centos7 client. This fails with the following mesages. I tried several variations in my fstab found in the internet. Can anyone give me a hint to to access an samba-server that is working fine against a Win2016 Domain-Cotroller?
Thanks Rakf
Apr 15 05:37:47 6805ca01a270 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Apr 15 05:37:47 6805ca01a270 kernel: CIFS VFS: Send error in SessSetup = -13 Apr 15 05:37:47 6805ca01a270 kernel: CIFS VFS: cifs_mount failed w/return code = -13 Apr 15 05:37:52 6805ca01a270 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: Send error in SessSetup = -13 Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: cifs_mount failed w/return code = -13
smb.conf
[global] Workgroup = COMLINE security = ads encrypt passwords = yes passdb backend = tdbsam realm = comline.de printing = cups printcap name = cups load printers = yes cups options = raw map to guest = bad user
[share_gov_srvgovrcpbuild_clients] comment = share für gov projekt rcpbuild clients path = /mnt/raid01/share_volumes_gov_srvgovrcpbuild_clients_smb browseable = yes comment = Share für alle guest ok = yes writeable = yes read only = no force user = root create mask = 0777 directory mask = 0777 public = yes
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Zitat von John Pierce jhn.pierce@gmail.com:
Mount.smb is way down-rev. It doesn't support the newer smb options
Hallo, thanks for the fast answer. What would be the right way to mount using /etc/fstab? Do you have an example?
Ralf
Unix to unix within a data center, I prefer NFS
On Tue, Apr 14, 2020, 10:29 PM Ralf Prengel ralf.prengel@rprengel.de wrote:
Zitat von John Pierce jhn.pierce@gmail.com:
Mount.smb is way down-rev. It doesn't support the newer smb options
Hallo, thanks for the fast answer. What would be the right way to mount using /etc/fstab? Do you have an example?
Ralf
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Zitat von John Pierce jhn.pierce@gmail.com:
Unix to unix within a data center, I prefer NFS
Ok, simple solution for a big problem. Share is working now. I ve to check that the flags for files an directories are working while using the share from both sides. Windows to save the files and Centos to work with them.
Thanks Ralf
On Wed, Apr 15, 2020 at 06:46:00AM +0200, Ralf Prengel wrote:
Apr 15 05:37:52 6805ca01a270 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: Send error in SessSetup = -13 Apr 15 05:37:52 6805ca01a270 kernel: CIFS VFS: cifs_mount failed w/return code = -13
I the thing to see is NT_STATUS_LOGIN_FAILURE. errno -13 is EACCESS I believe, so it's just telling you that you don't have access. Samba is replying that there's a login failure. So you need to make sure you've got the correct credentials set up in the mount. Also, make sure you aren't trying to use SMB1.
For what it's worth, Samba has making inroads into providing a real POSIX filesystem with SMB3.1.1 w/ the posix option. (See https://wiki.samba.org/index.php/SMB3-Linux )
In some ways it's a lot better than NFS. Runs all over one port, full kerberos support and support for complex acls. Hopefully more vendors adopt the POSIX extension so linux becomes a first class citizen in the SMB world.