LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba:Unable to connect shares from win2k client (https://www.linuxquestions.org/questions/linux-software-2/samba-unable-to-connect-shares-from-win2k-client-134275/)

vikram_cvk 01-13-2004 06:03 AM

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,


All times are GMT -5. The time now is 10:17 PM.