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 tried to mount a drive from windows XP and I tried and tried and finally got it to work. my issue is the following, samba will ask you for some authentication, however it will still ask you even if Windows dont. This makes that you cant mount a drive unless you provide a (fake) password.
This is kind of confusing since you propously set it as 0 authentication so people can access it freely.
If this was a Fat32 usb drive, it will be annoying to put a password on it. however why is this ok when mounting a windows share?
Sorry about that, I thought you were trying to mount a samba share onto a windoze machine. Your actually trying to mount a windoze share on a linux machine, so the smb.conf is not required.
Have you added root user to samba, since you are running samba you still need to add a root user:
Have you added root user to samba, since you are running samba you still need to add a root user:
smbpasswd -a root
Hi I am not a networking guy so I havent used all the options of samba. Can you please explain me a bit on why I will want to do this in the future and how will it change the way I interact with windoze on a network.
I only use samba on my home network so I haven't had a lot of experience with it. But you need the samba daemon to mount the windoze shares on the linux machine. Samba needs to run as root to have permission to mount shares on to be able to write to the unix file system. So you need to add root as a samba user, and the same goes for any other users you have on the system that you want to have access through samba.
In your case it may not make any difference but I thought it maybe something to try just in case samba is having trouble accessing the fle system to mount the share. It may be trying to mount it as root but there is no samba root user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.