View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-17-2005, 07:01 PM   #1
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
Samba: can't connect to my local linux machine but can connect to windows.

Ok so I think I have samba configured correctly, but when I try to connect to my local linux machine I get this:
mike@mike:~$ smbclient -L mike
session setup failed: NT_STATUS_LOGON_FAILURE
I can connect fine to my Windows XP computer. I know there isn't much information here, so if more info is needed just tell me and I will put it here. Thanks in advance for your help.
Old 01-17-2005, 09:52 PM   #2
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
did you setup an smb passwd for mike
smbpasswd mike

probably more secure anyways if you setup a seprete user just for smb login

as superuser
useradd -d /home/sambauser -s /bin/false -n sambauser
passwd sambauser
smbpasswd -a sambauser

then configure samba to use that user for your shared folder

Last edited by GUIPenguin; 01-17-2005 at 10:19 PM.
Old 01-18-2005, 04:24 PM   #3
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
I followed your instructions for setting up a samba password and that didn't work. Still get the same error.
Old 01-18-2005, 06:32 PM   #4
Registered: Aug 2002
Posts: 13,466

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Just press the enter key without typing in a password.

See man pages smbclient for details or for documentation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect linux machine to windows VPN paddyjoy Linux - Newbie 2 09-21-2005 01:34 AM
cannot connect a Windows and Linux machine biscayne07 Linux - Networking 10 02-02-2005 05:17 PM
How can I connect to my local machine using FTP at the command line? imagirlgeek Linux - Newbie 12 08-26-2004 03:57 PM
How can connect to Linux remotely from a Windows machine? imsam Linux - Networking 2 07-27-2004 10:01 PM
Linux unable to connect to another Linux machine via Samba (SMB) Please help shassouneh Linux - Networking 4 03-11-2002 03:26 AM

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration