login failures when using --authentication-file

Cherukuri, Naresh ncherukuri at partycity.com
Tue Oct 10 13:18:33 UTC 2017

Hello Volker,

We are using samba client version on Linux machine "3.6.23". It works fine till "9/26" with the same configuration file, we are getting this problem after windows update on "9/27". Windows server version is " Windows Server 2012 R2 Datacenter 9600". You can see below screenshot for config file permissions and samba version.

File permissions:

-rw-r--r-- 1 apache apache   57 Oct  5 12:12 smb_p.conf

[root@******prod ~]# rpm -qa | grep samba

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Sent: Tuesday, October 10, 2017 5:05 AM
To: Cherukuri, Naresh
Cc: samba-technical at lists.samba.org
Subject: Re: login failures when using --authentication-file

On Fri, Oct 06, 2017 at 03:42:43PM +0000, Cherukuri, Naresh via samba-technical wrote:
> I am a new bee to Samba, when I tried to  login manually from my Linux 
> server to windows server connecting successfully, but when I use 
> authentication  file I am getting following error. Please advice?
> session setup failed: NT_STATUS_LOGON_FAILURE
> [root@****** _temp]# smbclient  //pc-fp1.****.*****.net/OmniAppFiles 
> -U ***app1 -W **** Enter ***app1's password:
> Domain=[***] OS=[Windows Server 2012 R2 Datacenter 9600] 
> Server=[Windows Server 2012 R2 Datacenter 6.3]
> smb: \> exit
> when I use authentication-file its breaking
> [root@***** _temp]# smbclient //pc-fp1.****.******.net/****AppFiles -A 
> /var/www/html/omni/_temp/test.conf
> session setup failed: NT_STATUS_LOGON_FAILURE

Just tested with Samba master. There it works fine. What Samba version are you using?


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list