How to Configure the SMB Server in Workgroup Mode
Before You Begin
If the Samba service is running on the Oracle Solaris system, you must disable it. See How to Disable the Samba Service.
In workgroup mode, the SMB server is responsible for authenticating users locally when access is requested to shared resources.
Note:
You can use thesmbadm
command to change from workgroup mode to domain mode.
Example 3-2 Configuring the SMB Server in Workgroup Mode
The following example shows how to configure the SMB server in workgroup mode. The name of the workgroup being joined is myworkgroup
.
$ svcadm enable -r smb/server $ smbadm join -w myworkgroup
Install the PAM module and generate the password for user cal
.
$ echo "password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.d/other $ passwd cal
You would then create a share in order to have SMB clients access the SMB shares on your SMB server.