Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-13-2004, 07:03 AM   #1
Registered: Jan 2004
Location: Hyderabad , India
Distribution: RHL 9
Posts: 42

Rep: Reputation: 15
Samba:Unable to connect shares from win2k client

Hello Experts ,
I have a win 2000 network of 10 pc's . tryin to make one of the system as Linux file /print server .Installed Samba on RHL 9 (during os
installation) .

From win 2k client i'm able to see Linux-server (netbios name) ,even able to view general share (but unable to write to this share inspite of 'writable = yes ' But unable to get into 'homes' share

I'm getting the following errors

On Linux-server
$smbclient //Linux-server/home

added interface ip= bcast= nmask=

Password Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

On Win2k client
when i click on home share system prompts for

username/password , when i enter the username/password it

says "Invalid username/password"

I made extensive search on the net , to some extent i

could narrow down the problem but solutions is still


One more interesting thing is if i change 'security' parameter in the global section from share to 'user' or 'server' then I cant even enter into the Linux-server folder in network neighbourhood

On Linux-server i did the following
@ created samba password file
@ Also added usernames to smbpassword file ($ smbpasswd
-a <linux user name>)
@ changed file/directory mode to 777 ( $chmod 777 /home )
@ disabled firewall ( $service iptables stop )

On win 2k client i did the following

@ Added ip address of Linux-server in wins option of tcp/ip advance settings
@ Added Linux-server in lmhosts file
@ created same usernames & passwords as in linux-server

smb.conf file

netbios name = linux-server
workgroup = WORKGROUP
server string = Samba Server
hosts allow = 202.88.223. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
security = share
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd

#========= Share Definitions ===========
comment = Home Directories
browseable = yes
writable = yes


comment = Directories that are available 4 all users
path = /share
guest ok = yes
writable = yes
browsable = yes
read only = no
public = yes


What is the problem , I'm breaking my head from the past 2 days

It would be act of kindness if ne of u can tell me the solution for this problem .

Thanking You,


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
samba client Access denied unable to connect Systest7 Linux - Networking 11 12-12-2010 09:45 PM
Cannot connect to Samba server from Win2k client buddhahat Linux - Networking 11 06-20-2005 04:01 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 8 03-22-2004 01:14 AM
Windows 98 client won't connect to Samba shares ehedman Linux - Software 1 02-26-2004 08:41 PM
Howto connect to shares on a win2k server ScreeminChikin Linux - Networking 9 10-10-2002 09:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 AM.

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