For some reason i dont have samba restart file in my init.d directory. I just reboot the whole machine, but the server wont work so im thinking the samba restart i really important. Any ideas?
@jonathanjduncan The Samba would have restarted with the reboot. You could always try to uninstall and reinstall samba (sudo apt-get remove samba). Maybe something went corrupt in your installation.
Hey, thanks for the video. I'm confused over the difference between the GUI & the manual setup you do in the video. Your method in the video works, but the GUI is so much easier. If I set 'public' in GUI it's a snap, but I don't want 'public'. Your manual method does what I want (with password protection), but it's a pain. Do you know if I can set password protection with the GUI.
The missing piece for the GUI setup is the user/pass, which I guess I'm not doing right, because nothing works.
where is the smb.conf located and what should be in there? and about the last part of the video when the text file is created i cant edit it on my other machine what do i need to change?
I also have an Apple Mac running Snow Leopard and from the Linux PC Computer icon >> Network icon >> sometimes the Macbook icon shows up. I enabled File Sharing from the Macbook but when I click on the Macbook icon I don't see anything.
Also sometimes from the Linux PC Network icon I don't see the Macbook icon. Why is that?
smb.conf causes the computer to remember the settings. If you reboot, it won't hold all that info. I wish I could help you on the Mac, but I'm a windows guy. I could count on one hand the times I've worked on a Mac.
Good Question! Chown stands for "change ownership". If it remained root's folder then no one would be able to write to it but root.
"Techno:Techno" means that Techno the user owns it. And Techno the group owns it. Yes, there is a user and group with the same name.
"realname" is the name as the Linux machine sees it. I didn't point out. Windows sees "Sharename". Real names of folders don't have to match share names.
syntax is
chown "user that owns it":"Group that owns it" "folder name"
and that user name is the Linux username not the Windows user name. the only way that I would get to use the same name on both is if both were in a "single sign on" environment. In this video, they are a workgroup and not in a domain. So that isn't happening. However, I may coincidentally be using the same name on both machines.
thanks again so much. I figured out the techno user name part but your explanation about the chown was helpful. Your reply is the fastest among all the forums or websites I have used. :)
Hi, i am quite new to Linux and I have Debian which is said to be quite similar to Ubuntu.
Anyway, I installed samba on my Linux PC and I on the desktop(GNOME) Computer icon >> Network icon >> I see my Windows PC icon and I can see my shared C drive and copy/paste files from the Windows PC to my Linux server.
I did not configure smb.conf like this video which I am planning to do.
Ahhh very cool.. I was looking all over the net. But most of them was unclear.. So, I Youtube it and found you :D Work PERFECT.....SuperDuper job my friend!!!
Log into Webmin, click on Servers, Samba Windows File Sharing, select it and delete the share.
Right above the delete button, you'll find "create a new File Share" but I don't see anything about creating new Samba users. Groups yes, but no users.
How do I sotp it fro maccessing my home directory? I mean I have my webroot folder the one I want shared and then the /home/administrator folder is shared, I don't want that. Any ideas?
Nice job. Well thought out and good speaking voice. I like when you were entering the windows group name in the Linux smb.conf file you switched to windows and showed how to get it. That's where I got stuck trying to follow some other video as I had never heard of a group name for windows and didn't know whether I had to create it or just find it.
What if I just want to share between Linux machines? Will this work too?
ForeverWiked 5 months ago
can you post ur conf file on the description or smth
cuz i think smth's wrong
PrEmIsBoReD 10 months ago
For some reason i dont have samba restart file in my init.d directory. I just reboot the whole machine, but the server wont work so im thinking the samba restart i really important. Any ideas?
jonathanjduncan 11 months ago
@jonathanjduncan The Samba would have restarted with the reboot. You could always try to uninstall and reinstall samba (sudo apt-get remove samba). Maybe something went corrupt in your installation.
technoblogical 11 months ago
thanks man! you seriously saved my life with this. been googling for HOURS and nothing worked. now it's perfect! :D
mangokat 1 year ago
Thank you!
jcao219 1 year ago
Thanks. All the other examples I saw relied on the GUI and mine is a server only. Worked perfectly.
cbjma 1 year ago
when i type in sudo vim /etc/samba/smb. conf it dose not show me the screen that shows my workgroup. how do i fix that?
c2itcurlyfry 1 year ago
Great video tutorial techno, thanks :D
DerCerberus 1 year ago
Hey, thanks for the video. I'm confused over the difference between the GUI & the manual setup you do in the video. Your method in the video works, but the GUI is so much easier. If I set 'public' in GUI it's a snap, but I don't want 'public'. Your manual method does what I want (with password protection), but it's a pain. Do you know if I can set password protection with the GUI.
The missing piece for the GUI setup is the user/pass, which I guess I'm not doing right, because nothing works.
Boxofclocks 1 year ago
thx! can u make a video that shows how to share a printer over samba?
Lucasabusharkh361 1 year ago
where is the smb.conf located and what should be in there? and about the last part of the video when the text file is created i cant edit it on my other machine what do i need to change?
Lucasabusharkh361 1 year ago
All the commands that I use are in the video description..
technoblogical 1 year ago
I also have an Apple Mac running Snow Leopard and from the Linux PC Computer icon >> Network icon >> sometimes the Macbook icon shows up. I enabled File Sharing from the Macbook but when I click on the Macbook icon I don't see anything.
Also sometimes from the Linux PC Network icon I don't see the Macbook icon. Why is that?
Like I said i didn't edit the smb.conf file yet.
Thanks again.
RabbiTzedakah 2 years ago
smb.conf causes the computer to remember the settings. If you reboot, it won't hold all that info. I wish I could help you on the Mac, but I'm a windows guy. I could count on one hand the times I've worked on a Mac.
technoblogical 2 years ago
Thank you very much.
RabbiTzedakah 2 years ago
Hi again, I don't understand the "chown techno:techno realname" part. Is techno the username(login name) in your windows PC?
RabbiTzedakah 2 years ago
Good Question! Chown stands for "change ownership". If it remained root's folder then no one would be able to write to it but root.
"Techno:Techno" means that Techno the user owns it. And Techno the group owns it. Yes, there is a user and group with the same name.
"realname" is the name as the Linux machine sees it. I didn't point out. Windows sees "Sharename". Real names of folders don't have to match share names.
syntax is
chown "user that owns it":"Group that owns it" "folder name"
technoblogical 2 years ago
and that user name is the Linux username not the Windows user name. the only way that I would get to use the same name on both is if both were in a "single sign on" environment. In this video, they are a workgroup and not in a domain. So that isn't happening. However, I may coincidentally be using the same name on both machines.
technoblogical 2 years ago
thanks again so much. I figured out the techno user name part but your explanation about the chown was helpful. Your reply is the fastest among all the forums or websites I have used. :)
RabbiTzedakah 2 years ago
Hi, i am quite new to Linux and I have Debian which is said to be quite similar to Ubuntu.
Anyway, I installed samba on my Linux PC and I on the desktop(GNOME) Computer icon >> Network icon >> I see my Windows PC icon and I can see my shared C drive and copy/paste files from the Windows PC to my Linux server.
I did not configure smb.conf like this video which I am planning to do.
So what exactly does the smb.conf do?
Thanks
RabbiTzedakah 2 years ago
Okay everyone nice vid by the way but. I couldn't do it i assume it is because my smb.conf is blank any1 have any advice?
michillin212 2 years ago
Google "6. General Configuration (/etc/smb.conf)"
There's a sample smb.conf there.
or
reinstall with...
apt-get --purge remove samba
apt-get install samba
technoblogical 2 years ago
@technoblogical Thank you sooooooooooo much i got it running now =)
michillin212 2 years ago
Wow, That is great video. I was able to follow the command and made it work on my network. Thank you so much for sharing.
langtuh3t 2 years ago
Ahhh very cool.. I was looking all over the net. But most of them was unclear.. So, I Youtube it and found you :D Work PERFECT.....SuperDuper job my friend!!!
MrKlnyc 2 years ago
awesome this works with win7 homegroup btw
danfive555 2 years ago
Awesome tutorial :D
5/5
mansion10000 2 years ago
I love you man...this is a great video you have done
keep it up
Gine012 2 years ago
nevermind I fixied it with webmin
RenegadeFury 2 years ago
you should totally tell me how you fixed it with webmin :D
@ technoblogical :
nice tutorial ^^
Warkid1993 2 years ago
Log into Webmin, click on Servers, Samba Windows File Sharing, select it and delete the share.
Right above the delete button, you'll find "create a new File Share" but I don't see anything about creating new Samba users. Groups yes, but no users.
technoblogical 2 years ago
How do I sotp it fro maccessing my home directory? I mean I have my webroot folder the one I want shared and then the /home/administrator folder is shared, I don't want that. Any ideas?
RenegadeFury 2 years ago
I posted a video response that I think will help beginners as it's all done using the GUI method.
amzertech 2 years ago
Sure! It's a very nice video.
technoblogical 2 years ago
Nice job. Well thought out and good speaking voice. I like when you were entering the windows group name in the Linux smb.conf file you switched to windows and showed how to get it. That's where I got stuck trying to follow some other video as I had never heard of a group name for windows and didn't know whether I had to create it or just find it.
raslaje 2 years ago
nice tutorial thx a lot my friend
periali1 2 years ago
At last, someone who knows how to explain to others so they can understand what they are doing. Thank you so much!
utbuser13 2 years ago
Brilliant video, nice and clear and concise !!!!
BiohaZd5 2 years ago
Are you talking about letting the computer to write to a network share or are you talking about two operating systems on the same computer?
technoblogical 2 years ago