Ralf Prengel
2020-Apr-15 04:46 UTC
[CentOS] Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
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
John Pierce
2020-Apr-15 05:14 UTC
[CentOS] Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
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 at 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 at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Ralf Prengel
2020-Apr-15 05:29 UTC
[CentOS] Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
Zitat von John Pierce <jhn.pierce at gmail.com>:> Mount.smb is way down-rev. It doesn't support the newer smb optionsHallo, thanks for the fast answer. What would be the right way to mount using /etc/fstab? Do you have an example? Ralf
Jonathan Billings
2020-Apr-15 13:37 UTC
[CentOS] Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
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 = -13I 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. -- Jonathan Billings <billings at negate.org>
Reasonably Related Threads
- Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
- DVR recorder how to resucue files
- DVR recorder how to resucue files
- Samba Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
- syslog / logstah problem with timestamp