How to set up SAMBA on linux

See How to mount on Linux

Activate SAMBA server
Fedora
  click  to: System Settings - Server Settings - Services
  Be sure to start (and save config when done):
    -smb
Share a SAMBA folder
To avoid any problem I create a fully privileged folder:
    shell>mkdir /smb
    shell>chmod 777 /smb
Add a samba user
Fedora
  click to: System Settings - Server Settings - Samba Server
  click Preferences - Samba Users
    and add some user here, for example:
    Unix Username: oracle
    Windows Username: oracle
    ..., and close windows
  click Add and go on with properties
Ubuntu
  sudo smbpasswd -a aldo

Restart Samba server
Ubuntu
  sudo /etc/init.d/samba restart
  
#The share will be accessed with the credentials of bob without being prompted for a password.
smbclient //server1/datashare -U 'bob%foouser'