SAMBA Filesharing
SAMBA Filesharing
Submitted by Andrew Gee on Wed, 2007-07-04 23:27.
This screencast details how to use SAMBA to share files between computers.
This includes:-
- Browsing SAMBA shares from within Ubuntu
- Making shortcuts on the desktop to access SAMBA shares
- Sharing files from Ubuntu over SAMBA
Distribution: Ubuntu
Version: 7.04 (Feisty)
Architecture: All
Stream
Google video (English)
Google video (French audio dub)
Watch now! 1280x720 (requires flash player)
Watch now! 968x544 (requires flash player)
Watch now! 640x360 (requires flash player)
Download
MPEG4 1280x720 (13M)
MPEG4 968x544 (13M)
MPEG4 640x360 (9.4M)
MOV 1280x720 (13M)
MOV 968x544 (12M)
MOV 640x360 (13M)
OGG 1280x720 (7.7M)
OGG 968x544 (5.8M)
OGG 640x360 (4.0M)
Subtitles - How to use these
English
Français
Italiano
Notes
Andrew adds: "You may have problems accessing your share from other computers afterwards. To fix this issue do the following things. Launch the run dialog by pressing Alt+F2. Enter the command gksudo gedit /etc/samba/smb.conf then enter your password when prompted. Find the security section of the configuration file. Change "user" to "share" and remove the semicolon from the start of the line. Find the guest account section. Change "nobody" to your account's username and remove the semi colon from the start of the line. Save the file and restart your computer"

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Most excellent - thanks!
Thank you for providing the video in a free, open format. The highest 1280x720 file makes VLC and mplayer actually crash with "insufficient resources for operation", maybe because I tried watching it on a screen with less resolution (to test the downscaling you mention).
Are you by any chance using
Are you by any chance using a computer that has an Intel video chipset?
I know that I had issues of this kind when I used the i810 driver on my laptop. I have since switched to the newer Intel driver (package xserver-xorg-video-intel) which doesn't exhibit that problem.
Much worse...
I have an Averatec laptop with a VIA chipset.
Source code ?
BTW, forgo tto mention it would be nice to publish the source code of your conversion script. Thank you!
Sure. I want to make sure
Sure. I want to make sure that I get all the options right first. It's not particularly great. I'll probably put it on a page here and/or the wiki next week once I've had some feedback, and re-encoded the old screencasts. I am not a very good scripter so I'll get some help to jazz it up a bit first :)
uh - ok, that's what I
uh - ok, that's what I wanted to do, provide feedback on the script. I'll wait for it to come up next week then.
Yes, that would be useful
The method I use for compiling ffmpg (from upstream cvs snapshot) is here:-
https://wiki.ubuntu.com/ffmpeg
And the script can be found here:-
https://wiki.ubuntu.com/ScreencastTeam/FfmpegConversion
smbpasswd
Isn't it still required to change the user's whose folder is shared password via smbpasswd before others can access it?
was it tested?
I mean this way of sharing folders )) I've done it before(used this tool), but default samba configuretion uses 'security = user' so there must be some account for samba access(read or write). My solution was to set 'security = share' and 'guest account = ${my_user_name}' where ${my_user_name} is the name of my ubuntu user.
Well
I've added a little extra in the notes of this screencast above concerning your problem
smbadduser
I had some user issues. I think it would be good to show how to add users to create and limit access. Thanks for the great vid!
You should show the windows
You should show the windows point of view of your samba home shared folder.
So you could see that this is not working (see samba bugs on launchpad)
Thanks
Thanks for the feedback
I've just written a little extra in the post above in case the screencast instructions ended up not working
Thanks Another great
Thanks
Another great screencast
Keep up the good work ^__^
What about buttons in "Settings" window?
What about buttons in "Settings for folder" window? They under window border, always :(
This isn't so easy at all
Nice screencast,
it would be very nice if it would be so easy. I had issues with my Network, cause the IP-adresses are given by DHCP. Sometimes it does work, sometimes it doesn't. Please make a cast, how to make the Windows-Settings and give some hints what to do, if your way doesn't work.
THX
Stefan
Comments
On Gutsy Gibbon; I just tried to share a folder as suggested in the end of this screencast but when I tried to access this share from my Windows machine I kept getting "access denied" regardless or what password I used (I tried my ubuntu username/password, and also stuff like username "guest" with no password etc). After asking around in the #ubuntu channel on FreeNode IRC I finally understood what the problems where though.
The default installation of SAMBA will be set to use "user-level security" which means that each time a Windows machine wants to access data on the Ubuntu smb share it must supply a username and a password. However, the SAMBA password is not the same password as your normal Ubuntu password. Instead, you must explicitly set a special SMB password which is associated with your normal Ubuntu username/password.
Assuming that your normal ubuntu username is "ubuntu_user"; to set a SMB password for your Ubuntu user account you need to start a terminal and then type these commands; first you run "sudo -i", then you run "smbpasswd ubuntu_user" and then you enter a brand new SMB password (you need to enter it twice to confirm it).
Another problem I had, was that on my computer I see nothing when I go into the "Windows networking folder". I'm not really sure why that happens, maybe it's because I don't have any central Windows-server in my home network, or maybe it's because I'm using Windows 2000?
A third and final problem I had was that, in the "Connect to server" dialog; I tried to enter the name of my Windows machine (which is "equilibrium") but that just plain didn't work. Apparently, Ubuntu does not understand how to convert the hostname into an IP address (because the windows machine hostname is not a real resolvable internet hostname, it's just a local area network name). For example, I can't type "ping equilibrium" in a terminal either, I must write the IP address of the Windows machine all the time. This is annoying because it's hard to figure out what the IP is and it changes every now and then (all my machines boot using DHCP). Need some ZeroConf/avahi magic here plx :-)
This is a great screencast (even though it would be nice with another one which deals with these issues). All in all, I am amazed by both how easy to use Ubuntu is and also how good the Ubuntu screencasts is. Great work guys!!!
password access
"The default installation of SAMBA will be set to use "user-level security" which means that each time a Windows machine wants to access data on the Ubuntu smb share it must supply a username and a password. However, the SAMBA password is not the same password as your normal Ubuntu password. Instead, you must explicitly set a special SMB password which is associated with your normal Ubuntu username/password."
THANKS. It would seem obvious to just login using a valid user account from the sharing computer - I had no idea samba required its own password. I can now remove the (possibly) insecure guest access and login properly to my remote shares.
Great ....
... but ... this screencast is not in the RSS feed, I found it by chance looking for some spanish transations.
Keep up the good work.
Victor
Post new comment