Samba

File and Print Sharing Services provided by the Samba Server

Setting up a Samba Server

Install the rpm The samba server configuration file /etc/samba/smb.conf Start the smb service
# /etc/rc.d/init.d/smb start
OR
# service smb start
Create an account for users who wish to access Unix shares from their Windows machines on Samba Server
# touch smbpasswd
# smbpasswd -a userxx

Windows users also need an account in /etc/password to access home directories

   Example:    OR    OR

   Another possible solution is to map a Windows user account to one of your Unix user account

Troubleshooting Samba

See what shares are browseable on your Unix machine
  • The smbclient command is run on the Linux/Unix machine.
  • You may need to provide the smb password you just created
  • The -N should suppress the password prompt
  • See what shares are browseable on your Windows machine
  • you may need to provide your windows password
  • The -N should suppress the need to provide a password
  • Check the NetBIOS lookups Samba Logging

    Mapping your Linux share onto your Windows machine

        Test to see if you can access your home directory from a Windows machine
    net view \\10.2.135.xx
        Map the Unix home directory for your user (homes share) on your windows machine
    net use z: \\10.2.135.xx\homes
    OR
    Go to Windows Tools menu and Map Network Drive

    A picture of the Map Network Drive dialog

    mount your Windows share on your Unix machine

       Before mounting the Windows filesystem remember you must Take a look at the mounted filesystem statistics