Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smbclient - NT_STATUS_LOGON_FAILURE 1

Status
Not open for further replies.

excalibr

MIS
Oct 8, 2003
18
0
0
AU
Hi all,

I have a problem with using smbclient, my current setup as follows:

- Linux 9 login/password: excalibur & xxx
Windows 2000 login/password: MYDOMAIN\darrenk & yyy

- Linux smb service - did not change anything in smb.conf except to make it use plain passwords:

; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

- Windows 2000 - apply plain password registry fix

I can successfully access Linux folders from Windows 2000:

- Start - Run - \\222.76.129.238
- Type in Linux login name/password at Windows prompt: excalibur/xxx
- Successfully get access to Linux folder

If I wanted to do the reverse, ie. access Windows share (c:\test) via Linux, I thought this would do it:

smbclient //excalibur2/test -U \\MYDOMAIN\darrenk

I entered yyy when prompted for password, but this is what I get:

[root@localhost root]# smbclient //excalibur2/test -U \\MYDOMAIN\darrenk
added interface ip=222.76.129.238 bcast=222.76.129.255 nmask=255.255.255.0
Got a positive name query response from 222.76.129.234 ( 222.76.129.234 )
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

Is the syntax correct or is there more to the big picture? What else am I doing wrong?

Thanks very much, Excalibur
 
There was a suggestion to do this, and it worked for me

smbclient //excalibur2/test -U darrenk -W MYDOMAIN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top