Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have setup my SAMBA server and everything was going fine until I tried to access the server via my Windows XP computer Network Neighnorhood.
I keep getting the message:
-----------------------------------------------------------------------------
\\Localhost is not accessible. You might not have permission to use this network resource.
You were not connected because a duplicate name exits on the network.
-----------------------------------------------------------------------------
1. I am the network administrator (there are only 2 comps on the network)
2. There are not duplicate names on the network
3. It does not ask me for a l/p so how does it know if I have permission or not?
Sorry I have no answer for you, but thought I'd let you know you're not alone. My setup is similar and I get a similar message.
Do you see you Linux system in Windows Explorer |My Network Places | Entire Network | Microsoft Windows Network | Workgroup???? In my case I see the Linux system listed, but get the error message when I try to open it. When I try to view my Linux machine (\\TPI) from XP it times out and error message reads: '\\Tpi is not accessible. You might not have pernission to use this network resource. Contact the administrator of this server to find out if you have access pernissions. No service is operating at the destination network endpoint on the remote system.'
I am able to mount my XP shares from my RH8 Linux system, just not the other way around.
It seems like a lot of people are having the same problems. I wish the SAMBA team would post something addressing this issue.
Anyway, I can see the "Samba Server" in My Network Places>View all Workgroup Computer - It's just that when I double click to view the samba server I get that error and cannot access it at all.
VERY frustrating. Can't wait til I move on to sharing printers
With XP home there is no true client-server networking, it only works as a peer network client. So with XP home you would have the same problem trying to browse a real Windows server's shares. What that means to you guys is that it's possible that you can't browse the linux machine till you fake a client-server connection by trying to access a particular share. So try start -> run -> \\linux-box\share_folder and enter a username and password that is valid for samba and then you should be able to browse it in net places.
At least that sounds like what you are experiencing, if that is the case set "security=share" in your smb.conf and that may fix it.
Thanks Darin for the suggestion, but still no luck. Now I am getting a different error though: \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have permission. The network path was not found.
This is both when I do a Start>Run and when I double click on the Samba server in my Network Neighborhood>View workgroup computers.
Here is my smb.conf file if anyone can assist me better by seeing it...
[global]
workgroup = Mshome
netbios name = Samba
server string = Samba Server for Matt
hosts allow = 192.168.0.
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
I tried typing in my address as \\192.168.0.100 (the address of the samba server) and I can see a folder called Printers and Faxes on it. When I try to go to \\192.168.0.100\username I get a diolouge box asking for the password for the username 192.168.0.100\Guest What is the password for this? It does not let me change the username...????
Originally posted by mawarsha I tried typing in my address as \\192.168.0.100 (the address of the samba server) and I can see a folder called Printers and Faxes on it. When I try to go to \\192.168.0.100\username I get a diolouge box asking for the password for the username 192.168.0.100\Guest What is the password for this? It does not let me change the username...????
Guest AFIK means that samba doesn't have an existing username that matches your windows username so it is trying to authenticate you through the guest account.
Sounds like you need to set up users for samba, I think PAM is supposed to do that but looks like it isn't for some reason.
Just make linux accounts using useradd or your favorite X GUI and then use smbpasswd (or can it be done in swat?) to make samba accounts to match. the accounts should match the login names you are using for XP.
Another thing, in XP, go to a file manager window (explorer, my computer, whatever) and hit Tools, Folder Options. Click the VIEW tab, and scroll down to the bottom. Uncheck the "simple file sharing" thingy. It gives you more options to use networking. That MIGHT get you the ability to change the login from guest.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.