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.
Fedora 3
Samba 3.081013
Windows XP Pro SP2
OpenVPN running on 10.8.0.0/24
Samba Server eth0 is static ip 209.198.x.x - don't want any sharing on this.
OpenVPN virtual TUN - 10.8.0.1
Windows XP virtual TUN - 10.8.0.6
the vpn works fine, they can ping each other and access each others various servers just fine.
Windows machine is on workgroup Olmzog
Samba server is moving around a bit:
when set to anything other than Olmzog the different workgroup never shows up on the windows machine (waiting hours, rebooting windows machine, announces etc).
Set samba server to Olmzog workgroup and the machine shows instantly on Windows machine.
Windows can't view the samba servers shares - can't even "open" the samba server to see what shares are available. Never asks for a password or anything.
Can't mount.cifs or mount -t smb any shares on the Windows machine from the samba machine - mount.cifs says it can't find the windows machine, mount -t smb says connection failed.
Any ideas? I know this is a very basic question but for some reason I've had terrible luck with samba in the past (never been able to get it going right as a matter of fact).
P.S. the windows shares work fine on it's physical LAN with other windows machines - so im almost positive it's a samba configuration problem
[edit]P.P.S. if i run the net use command on the windows machine, along with the /USER flag for it of an existing samba user i will get access denied even after entering the correct password.[/edit]
Last edited by c0uchm0nster; 05-16-2005 at 01:48 AM.
Its been a little bit since I've played with samba on my machine, but I had a similar problem I was unable to resolve. It ended up that the reduced file sharing security in WinXP Home prevented the XP machine from accessing samba shares after the installation of SP1. I tried tirelesly for days even compiling a new samba version from there latest code to no avail. This may be your culprit though I hope not good luck.
Thank you both for the replies.
I do have a samba user setup with a password - that's the one I get access denied with when using the net use /user command in windows.
I'm trying to access the default "homes" share by the way.
And yes I thought of the simple file sharing stuff - cuases lots of headaches on windows only networks too - but the machine is Windows XP Pro, and has simple file sharing disabled - so it does try and use user names as it should.
Still, I can't even view the available samba shares via the windows machine. Shouldn't this be possible without a username/login?
I mean on a windows<->windows network if you go to network places, you then see the workgroups, inside the workgroups you see the computers, if you double-click on the computers you see their available shares. It's not until you try browsing into one of those shares that permissions become a problem with windows setups.
I'm getting access denied errors just trying to browse the samba machines available shares.
By the way, some more notes: I have OpenVPN configured correctly on client and server side specifically for using Samba so, while I am going to try accessing samba shares using the physical eth0's subnet today I don't think I'm going to get any better results.
i swear i have some kind of hex against getting samba working right - this is my third attempt (first being fairly comfortable in a linux environment), always spend days on forums trying to get things worked out and the replies always die out hehe.
tried swat in the past - had no more luck than straight editing of smb.conf
tried webmin's samba interface in the past - with slightly better luck, but still not fully working
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.