-4

I was facing an issue while connecting to Windows host from Linux host to fetch shared files. These commands were not working

$/usr/bin/smbclient -L windowsHost
$/usr/bin/smbclient \\\\windowsHost\\test

Where windowsHost is the host where files are shared.

The error i get is

Enter *user*'s password:
session setup failed: **NT_STATUS_LOGON_FAILURE**
1

1 Answer 1

0

I figured it out, its the smbclient command i was using.

$/usr/bin/smbclient \\windowsHost\test -U domain\usr pwd

Output:

Domain=[domain]OS=[Windows Server 2008...]

As the NT user account having windows host/dir access is with the domain abd hence i needed to use it with smbclient.

Not the answer you're looking for? Browse other questions tagged or ask your own question.