LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-13-2004, 06:03 AM   #1
vikram_cvk
Member
 
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=202.88.223.10 bcast=202.88.223.255 nmask=255.255.255.0

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

elusive

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
--------------



[global]
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 ===========
[homes]
comment = Home Directories
browseable = yes
writable = yes

[general]

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,
 
  


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


All times are GMT -5. The time now is 04:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration