This essay focuses on Dell Precision WorkStation 380 machine. A manual static IPv4 ip address 188.8.131.52 is setup and the machine name
Samba comes with many other utilities. For example, testparm is a simple syntax checker for Samba’s smb.conf configuration file. smbpasswd can change a user’s SMB password which is used to protect the shared file and print services. Please see http://www.samba.org/samba/docs/man/manpages/samba.7.html for those other utilities. Samba Build I installed Ubuntu 13.04 on a Dell Precision WorkStation 380 machine with Intel Pentium 4 CPU 3.00 GHz and 2.0 GiB memory (quite a bit old machine). A manual static IPv4 ip address 184.108.40.206 is setup and the machine name is call hpndcl-ws8.cs.siu.edu. Step 1: Check Samba 4 / OS requirements.
First you need to execute the following command from a Terminal window to make sure all the related development libraries and programs are installed in the system. sudo apt-get install build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls-dev libreadline-dev python-dev python-dnspython gdb pkg-config libpopt-dev libldap2-dev dnsutils libbsd-dev attr krb5- user docbook-xsl libcups2-dev docbook-xsl xsltproc inkscape libpam0g-dev Note: – The above apt-get install command in the Distribution Setup section of the webpage  works perfectly for Ubuntu (this command is supposed to be working for Debian or Ubuntu).
There are other specific yum install commands for other Linux distros such as Fedora, Red Hat Enterprise Linux or CentOS, openSUSE, and Gentoo. I did not verify them personally. Originally I wanted to install Samba on Mageia 3 and tried to install all the related development libraries and programs by following the suggestions for Red Hat on this page (it does not have such command for Mageia). One of the challenges was that the required package names did not exactly match between these two Linux distros. After I installed all the related libraries and programs.
think of by these suggestions, the Samba build process. This is still fail during the linkage phase (the make command in step 3 below). The other big challenge is that it did not explicitly report which library it is missing. I spent couple of days trying to figure out which library went missing but to no avail. So I finally switched to the Ubuntu distro. Next you need to add “user_xattr,acl,barrier=1” (without quote) to the file /etc/fstab to ensure an appropriate file system support. The file will look like something as follows: UUID=… /
ext4 user_xattr,acl,barrier=1 0 1 Finally you may also want to test the security support of your file system by following the “Testing your filesystem” section of the webpage . . All these files are into the working directory. Then check the source file is not corrupt by verifying against the tarball signature. Check the source file is not tamper with by verifying against the Samba distribution PGP public key. All these steps can be execute by following the command sequence (in bold font) below: mkdir ~/samba cd ~/samba (download those three files in the “samba” directory)