Required tools:
- samba
- samba-common
To install: sudo apt-get install samba
Once the server is install, issue the following command:
Make the following changes:Code:sudo gedit /etc/samba/smb.conf
underneath it, addCode:workgroup = WORKGROUP
netbios name = name_of_your_server (no spaces)
For example:
Make sure "security" is set to "user".Code:netbios name = kenny_smb_server
Scroll down until you see "[homes]", set:
Then save the changes.Code:browseable = yes writable = yes
Finally, create a SMB user, make sure this account exists on your Ubuntu Linux.
and set your passwordCode:sudo smbpasswd -a `whoami`
OKAY, you are finished configuring Samba on your Ubuntu Linux.
------------------------------------------------------------------------------------------------
Winblowz
------------------------------------------------------------------------------------------------
There are two ways to access it:
Method 1:
My network places > Entire Network > My Windows Network > Workgroup
Method 2:
in the address barm type in "\\[whatever you named the Samba server]". From my example above, I used "\\kenny_smb_server\".
You should see a folder call "homes", click on it, and it will ask you for your username and password, enter your Ubuntu Login Name and whatever you choose for the password when you used command "smbpasswd". You should be able to take it from here.
Keep in mind that you are sharing, /home/[login name]/*
------------------------------------------------------------------------------------------------
Linux
------------------------------------------------------------------------------------------------
Install smbfs:
Example:Code:sudo apt-get install smbfs mkdir Network sudo mount -t smbfs -o username=[network user],password=[network pass],uid=`whoami`,gid=`whoami`,fmask=000,dmask=000 //[whatever you named the Samba server]/[network user] /home/`whoami`/Network
---- ENDCode:sudo mount -t smbfs -o username=kenny,password=test,uid=`whoami`,gid=`whoami`,fmask=000,dmask=000 //kenny_smb_server/kenny /home/`whoami`/Network
Good luck!



Adv Reply


Bookmarks