login failures when using --authentication-file

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Oct 10 09:05:18 UTC 2017

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