Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 the same problem. I don't know how to setup samba to share my directories anonymously through the (local) network...
do someone know about this? I've tried looking tutorials about samba, etc. but they talk about users, or they are incomplete (asume that it just works)...
yea it said some stuff in one i read about having to type some really long codes to create users and passwords and then some things for windows on logging into it and all...
im just confused cant i just bipass logging in all together
Last edited by tommytomthms5; 09-08-2007 at 10:24 PM.
Reason: simplifing
It sounds like you want a configuration similar to one of the first ones in the Samba 3 by Example book. It is supplied either by the samba package or a samba-doc package. You will still need to set up the directory ownership & permissions, and add a user owning the share, but using "force owner" and "force group" it won't matter which user or password you entered.
I think the user name and password must be the same on both the Linux system and the windows system. It works for me with WinNT4.0 and a Debian server.
If you want a public share where you don't need permissions you could use the "guest ok = yes" option.
Here is an example:
For a world writable share, you need to allow "others" access to the directory, and make the share sticky:
drwxrwxrwt 2 root root 4096 2007-07-26 07:53 /home/samba
Code:
[samba]
path = /home/samba
read only = No
guest ok = Yes
available = Yes
edit gggrrrrrrr i hate samba who ever made it is a security paranoid dumb ass
Wrong... Whoever made windows was too lazy to bother with proper security. Passwords are something that should be expected, especially when sharing important files which might appear in the /root/ directory.
And yes, the service does need to be restarted (at least I think it does).
Samba is easy to setup if you read the smb.conf file. It show you step by step what to do. Anyway, here is a quick steps to get it up and running.
1. create an account on your linux box ---> useradd userid
2. create password for samba share ---> smbpasswd -a userid
3. go to your windows box and browser to your linux server
4. select your samba share and type in your samba userid and password
5. Of course, if your samba userid & password match your windows userid and password. Samba will not challenge you for userid and password.
As for restarting the samba, you shouldn't need to reboot your server. All you have to do is service smb restart for Fedora and Red Hat.
problem resolved... i thank all of you for your help
what worked...
keeping smb.conf simple and clean
setting users and passes
setting proper mount points
setting permissions
listening and not being so stubborn
keeping file backups
what needs to be worked on....
having to reboot after every change
some bios problem(s)
my laziness
my patients
other stuff
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.