samba problem
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 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 |
I fail to see a setting for "security" in your smb.conf ...
|
thanks for your reply. well i does't do any thing in security under smb.conf file. Kindly let me know or guide me where it is in global or in share ....?
|
That'll be global; have a look at
man smb.conf Cheers, Tink |
Just adding my 2 cents...
By default RH9 uses localhost as its hostname. localhost is also the virtual loopback adapter on every computer so you are trying to access shares on the client instead of the server. This is also the reason you are seeing the duplicate name error and you need to change the server's name not the client. Add a line to the smb.conf global section netbios name = server (change server to whatever you desire. Must be less <= 15 characters and can not have a any spaces or special characters \ / : * ? " ; | ) |
thanks "michaelk" for your prompt reply. Well after chanding name of my linux computer as " pc1 " and adding line in global sectionit works a bit fast but still i see a message from windows xp
"pc1 is not accessable.You might not have permission to use this network resources.contact the administrator of this server to find out if you have access permission. The network path was not found." well i am using windows administrator account but still fail. |
Did you run smbpasswd?
|
Hello,
Stop your firewall or add samba port in firewall rules. Regards, Rehan |
yes i have make a account and assign smbpasswd to that user but this is the second phase will start when in windows will provide diallog box to enter user name and password.
Windows does't show me that diallog box so i may enter user name and password. |
Stop the firewall of your samba server.
|
Code:
Stop the firewall of your samba server. |
Run the following command
/etc/init.d/iptables stop |
thanks for the prompt reply. well i apply the command but this time windows does't give any error message.It open the explorer and say "page can not be displayed"
|
Please access your samba server from windows machine as follows
Run > cmd > \\ip of your samba server. Regards, Rehan |
i can ping my linux machine from windows xp ......( [root@pc1 root] pc1 my Linux host name) but when i try to ping with the name of my pc which is pc1 it say "pind could not find host.please check name and try again
this means that it is not resolving the name? does samba need DNS in workgroup enviroment ? IAM SURE NO. |
All times are GMT -5. The time now is 01:19 PM. |