6.5 Samba Share Configuration

Samba allows to share files across various platforms over a network. By default, Samba share uses the port 139. Hence, it is recommended that the port 139 is opened in your appliance.

Using the following content repo folders, you can share files using Samba:

  • contentrepo="/var/opt/novell/zenworks/content-repo/

  • images="/var/opt/novell/zenworks/content-repo/images/"

6.5.1 Accessing the shared folder

To access the Samba shared folder, perform the following steps:

  1. Press Windows Start + R.

  2. In the Run window, type \\<APPLIANCE_IP>\<SHARE> and hit enter.

    • APPLIANCE_IP is the IP address of your Appliance server.

    • SHARE is the name of the share that you want to access. The share can be contentrepo or images.

  3. Specify the credentials.

NOTE:By default, zenadmin is the user name and novell is the password. However, you can change the default credentials. For more information on changing the password see Changing Samba Password.

6.5.2 To change the Samba password, perform the following steps in the Appliance Terminal

To change the Samba password, perform the following steps in the Appliance Terminal:

  1. Run the following command:

    sudo smbpasswd -a <username>

    Here, zenadmin is the username.

  2. A prompt is displayed to specify the new password.

  3. After changing the password, restart the samba services by running the systemctl restart smb.service command.

6.5.3 Changing the Samba Share Settings

The default Samba share settings are available in smb.conf file in the “/etc/samba/“ location. Based on requirements, you can change the settings, and then restart the samba services by running the systemctl restart smb.service command.