Samba software is provided in the Oracle Solaris package service/network/samba. Perform the following procedure on each node to determine whether the same version of Samba software is installed on all nodes and to install Samba software if necessary.
Before You Begin
Determine how many Samba instances to use. See Multiple Samba Instances That Require winbind.
Create a cluster file system or highly available local file system for the Samba files. For guidelines on locations for Samba files, see Location of Samba Files. For information about the file system for the Samba files, see Planning the Cluster File System Configuration in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide .
Command output is similar to the following.
phys-schost-N# pkg info service/network/samba Name: service/network/samba Summary: samba - A Windows SMB/CIFS fileserver for UNIX Category: System/File System State: Installed Publisher: solaris Version: 3.6.12 Build Release: 5.11 Branch: 0.175.1.7.0.2.0 Packaging Date: Sat Apr 13 00:49:09 2013 Size: 185.70 MB FMRI: pkg://solaris/service/network/samba@3.6.12,5.11-0.175.1.7.0.2.0:20130413T004909Z
# pkg list -a service/network/samba # pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F solaris-repository ha-cluster origin online F ha-cluster-repository
For information about setting the solaris publisher, see Adding, Modifying, or Removing Package Publishers in Adding and Updating Software in Oracle Solaris 11.3 .
If you do not get any error messages when you use the –nv options, run the command again without the –n option to actually perform the installation or update. If you do get error messages, run the command again with more –v options (for example, –nvv) or more of the package FMRI to get additional information to help you diagnose and fix the problem. For troubleshooting information, see Appendix A, Troubleshooting Package Installation and Update, in Adding and Updating Software in Oracle Solaris 11.3 .
phys-schost-N# pkg install service/network/samba
$ pkg info service/network/samba
Installation is successful if output shows that State is Installed.
Next Steps