Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
40
rated 0 times [  40] [ 0]  / answers: 1 / hits: 334611  / 2 Years ago, fri, august 12, 2022, 9:38:57

I'm running smbclient on Ubuntu, trying to connect to a Windows box, and I'm getting "session setup failed: NT_STATUS_LOGON_FAILURE".



I've verifed that I can ping the box and telnet to ports 139/445, so I'm pretty sure that it's not a firewall issue. And my client says that they can connect to this Windows box from another Windows box with the userid/password combination without issue. Also, this box can connect via smbclient to other Windows boxes that this client has.



Any other ideas for why this isn't working?


More From » windows

 Answers
0

Have you checked your smb.conf?



Make sure your workgroup and security settings are properly set. If you are working with a a computer as part of a domain, authentication requests are first passed through your domain controller, so make sure you have something similiar to:



security = domain
workgroup = WORKGROUP


You can also use the -W option to specify the workgroup, and add DOMAIN/ before your username to specify the domain:



$smbclient -L myhost -U DOMAIN/user -W workgroup


Hope this helps!


[#40065] Sunday, August 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
panshow

Total Points: 454
Total Questions: 98
Total Answers: 122

Location: Philippines
Member since Sat, Jul 11, 2020
4 Years ago
;