Samba problem

Dell DELL
April 6, 2010 at 07:22:42
Specs: Windows XP, 2GB
Hi,
I am using my Red Hat Linux 9 box for samba server.I assigm my linux computer IP 192.168.1.10

and windows machine 192.168.1.20

the workgroup name in windows is workgroup.

In Linux side I do the following configurations.
Code:

# vim /etc/samba/smb.conf
[global]
Workgroup=WORKGROUP
Server string = samba server

Host allow = 192.168.1. 192.168.2.127.

wins support = yes

[Shares]
[temp]
comment=Temporary file space
path = /temp
read only = no
public = yes
these are the settings which I have done in smb.conf file.

[root@localhost samba]# service smb restart
[root@localhost samba]# chkconfig --level 35 smb on

Now on windows xp computer when I click on " view workgroup computers " I can see my windows xp and linux computer with name "samba server (localhost).

By double clicking on " samba server (localhost)" windows xp shows a message.

"\\localhost is not accessable.You might not have permission to use this network resource.Contact the sdministrator of this server to find out if you have access permission.
You were not connected because a dublicate name exits on the network.Go to system in control panel to change the computer name and try again"

well I have checked in windows .The computer name is winxp and workgroup is workgroup.

If i write Server string name .i.e samba server in windows explorer as following

\\samba server

it show a message "Windows cannot find '\\samba server'.Check the spell and try again.or try searching for the item by clicking the start button and then clicking search"

Please help me that why i can't even see the dialog box for user name and password. If windows is showing linux machine in workgroup then why it is not showing any diallog box ?

thanks for the help in advance.
garden


See More: Samba problem

Report •

#1
November 7, 2010 at 23:25:28
in the 'host allow' line,, please give the ip address of the windows machine and if possible,, try to assign the IP addresses of the two PCs in the same network

For example,, windows IP = 192.168.0.10
linux IP= 192.168.0.20

First try to ping to make sure that there are no cable problems because many make the mistake of connecting two PCs with a 'straight' cable instead of 'cross' cable

if the problem persists,, install samba again and repeat the process
just mount the installation cd and use
rmp samba * command to install
give samba password for users
smbpasswd -a <user name>
service smb restart

make sure that you have already installed nfs* and portmap* in linux

always do this configurations as 'root user'

let me know if this worked!!


Report •
Related Solutions


Ask Question