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.
It's me again. I got my ftp server working like a charm on the RH 9 linux box. Now I need to setup samba so I can see the linux box on my windows machines as well. Plus the next step would be to share the printer that I have.
I'm looking for a newbie type guide, I've looked at many but none I could complete.
Well, you SHOULD just be able to run the Samba GUI that comes with RedHat, and set it all up through there. SAMBA is supposed to be fairly easy to use, but I just happen to be having rpblems with it. Anyways, Samba GUI should just be under System Setting -> Server Settings -> Samba Server on your gnome Panel (the RH equivelent of the task bar/Start menu). And there's plenty out there for setting up Samba on the internet, just need to search for it.
Thanks for the responses. I've configured it from the GUI already, I can see it but can't go into the shared folders. I believe it's a username authentication issue as it's asking for a username but not authenticating, even if I punch in root's. I believe there is a way to create samba users, I was wondering if I can do it from the shell instead of GUI. I couldn't figure out how I'd create samba users anyways. So in a nutshell, it's running, I can see my linux box but just can't access it. I hope this should help and I now realize that I should've included this bit of detail in my first post. Sorry about that, was very sleepy
dewin,
to addusers in samba you must go to a shell and login as su then type the password.
run this
smbpasswd -a "username" > enter
New Password: bigsecret
Confirm Password:bigsecret
If your smb.conf file is setup right you then should have folders created for them after this.
For more information you can go to www.samba.org for documentation and more help.
You really will do yourself a favor and NOT rely on the GUI to configure Samba. It is a lot more powerful doing the configuration yourself and learn it that way.
I recently purchased a great book for Samba 3.0x and it is striaght forward and easy to understand.
"The Official Samba -3 How to and Reference Guide.
By: John H. Terpstra
Jelmer R. Vernooij
This is a must have for Samba Administrators.
That was easy enough. Thanks a bunch. Now just a question as I'm not on the linux box anymore for the day. I created this user, it's created, I also did set shares in GUI long time ago. Will those same shared folders be loaded in the config or am I going to have to reconfigure it. I'm assuming if I want to configure shared folders, I'll have to go in GUI and if I want to do it in shell, I'll have to manually edit the smb.config file or something.
Honestly, I'm getting much better at this, I can feel it. Thanks for everyone's help here on linuxquestions. I'm learning and learning fast.
dewin,
Post your smb.conf file.
THis will tell us if the folders are being created on the fly or they are being made manually.
I like mine created when I setup the account that way I know that Samba makes a link to it.
which will test your smb.conf file and global settings
once your shares are configured correctly, you should be able to map then on m$ like any other network share (depending if your using encrypted passwords or not). To have your linux box bring up the share everytime you boot up, add the following lines to your /etc/fstab file:
Actually, I created the user and tried going into my linux box, it asked for the password and it did let me in. I can see the shares I created when I was in GUI version of samba and it retained the settings.
Can I just put ./smb start in startup to launch it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.