Samba Status Code Returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13

Home » CentOS » Samba Status Code Returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13
CentOS 5 Comments

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

5 thoughts on - Samba Status Code Returned 0xc000006d NT_STATUS_LOGON_FAILURE SessSetup = -13

  • Zitat von John Pierce :

    Hallo, thanks for the fast answer. What would be the right way to mount using /etc/fstab?
    Do you have an example?

    Ralf

  • Zitat von John Pierce :

    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

  • 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.