LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2005, 10:24 PM   #1
Psibur
LQ Newbie
 
Registered: Jul 2004
Location: . <-- You Are Here
Distribution: Slackware 2.4.30
Posts: 20

Rep: Reputation: 0
smblient Error When Trying To Connect To XP


When I was connecting to a XP box with Service Pack 1 and a FAT32 drive, smbclient worked just fine out of the box. Now when I try to get to a XP box with Service Pack 2 (SP2) with both a FAT32 and a NTFS partition, I get the following error message after it prompts me for a password:

Quote:
"tree connect failed: NT_STATUS_BAD_NETWORK_NAME"
The full dialog looks like:

Code:
added interface ip=192.168.0.5 bcast=192.168.0.255 nmask=255.255.255.0
Password:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
To be honest, I don't even think there was an smb.conf, but here is the one I have now (that was created after I first started receiving the error):

Code:
# Samba config file created using SWAT
# from psibur (192.168.0.5)
# Date: 2005/08/06 20:05:42
 
# Global parameters
[global]
        netbios name = PSIBUR
        security = SHARE
 
[data]
        comment = Data
        path = /export
        read only = No
        guest ok = Yes
        hosts allow = 192.168.0.
Is there some issue with SP2 that wants to be fussy with Samba? Here's some info about the XP box:
[] I have the Winderz Firewall turned off to keep that quiet.
[] I don't have the Guest account turned on.
[] The workgroup on the XP box is named WORKGROUP
[] I do not have a user account named PSIBUR. Should I have one?


TIA.
--Psibur
 
Old 08-06-2005, 10:31 PM   #2
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
No, you shouldnt need a account called PSIBUR. Have you tried connecting to the linux (im guessing) machine from the XP machine? or have you tried connecting to the sp2 machine from another windows machine?
 
Old 08-07-2005, 10:05 AM   #3
Psibur
LQ Newbie
 
Registered: Jul 2004
Location: . <-- You Are Here
Distribution: Slackware 2.4.30
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by andy753421
No, you shouldnt need a account called PSIBUR. Have you tried connecting to the linux (im guessing) machine from the XP machine? or have you tried connecting to the sp2 machine from another windows machine?
Okay, this one was just wierd but I figured it out. When I shared the drives, for testing purposes, I named them C (NTFS) and D (FAT32). I went to go and unshare them this morning and noticed after the C and D in the Share Name fields, there was a single $. I removed them and all started working as normal. Never seen this happen before but I guess wierd things happen.

Thanks.
 
Old 08-07-2005, 04:27 PM   #4
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
I believe $C and $D are administrative shares that are put up by windows and are really hard to get rid of. I think there's also a $WINDOWS. Note that these shares are not visible by most smb browsers, namely windows explorer, and must be typed in manually in the form of \\computer\$C.
 
  


Reply


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
Modem -- can't connect with error 2 jdtiede Fedora 1 07-19-2005 02:57 AM
Socket error on Connect mdimanna Programming 2 06-24-2005 11:28 AM
cant connect (error code 2) scagman Linux - Networking 1 05-06-2005 02:18 AM
mySQL connect error brentos Linux - Software 0 06-11-2004 11:12 AM
smblient localhost error suselinux Linux - Networking 0 09-09-2001 04:03 PM


All times are GMT -5. The time now is 02:16 AM.

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