Professional Documents
Culture Documents
Configure Samba Share On Solaris 10 For Windows
Configure Samba Share On Solaris 10 For Windows
Configure Samba Share On Solaris 10 For Windows
Samba is already part of the Solaris 10 install, but without /etc/sfw/smb.conf file, the SVC wouldn't start. Here's what needs to be done to enable Samba on Solaris 10. Configure SAMBA on Solaris 10 1. creat /etc/sfw/smb.conf # cat smb.conf [global] workgroup = DOMAIN \\windows AD/NT domain name server string = Samba Server \\description hosts allow = 192.168.1. \\allow clients on this subnet only log file = /var/adm/samba_log.%m \\log file security = SHARE \\SHARE security mode (read security info) load printers = no \\disable printing printcap name = /dev/null \\get rid of error on log.smbd [myshare] \\share name comment = My Share Contents \\share description path = /export/home/myshare \\physical path to share on Solaris server force user = username \\if needed, force the file creation permission to some user on Solaris server. force group = other \\force goup permission create mask = 02775 \\file masking directory mask = 02775 \\directory masking read only = No \\allows write guest ok = Yes \\allows everyone 2. enable samba # svcadm enable samba 3. access samba share from Windows \\solaris-server-name\sharename Note: this is a simple and dirty way to create a Samba share. for more security check the Samba configuration options