14.4 Content Sharing

Content sharing helps you leverage your existing file sharing infrastructure and download the content to managed devices.

NOTE:Managed devices download the content from the content repository by using the HTTP protocol. They can additionally download the content by using the CIFS protocol.

For information about sharing content, see the following sections:

14.4.1 Sharing the content-repo Directory on the Primary Server

On the ZENworks Primary Server, you need to configure the content repository as a file system share that can be accessed as an anonymous read-only share. You must configure the content repository as read-only for preventing anonymous users from manipulating the data and causing security issues.

Sharing the Content Repository on a SUSE Linux

  1. Install Samba.

    For more information on how to install Samba, see the Samba Administration Guide.

  2. Launch YaST Control Center.

  3. In the Filter field, type Samba Server.

    The Samba Server configuration process is initialized.

  4. Click Next.

    The Samba Installation window is displayed.

  5. In the Workgroup or Domain Name field, specify the workgroup or domain name, then click Next.

  6. In the Samba Server Type option, select one of the following:

    • Primary Domain Controller (PDC)

    • Backup Domain Controller (BDC)

    • Not a Domain Controller

  7. Click Next.

    The Samba Configuration window is displayed.

  8. In the Start-Up tab, select how you want the Samba Server to start:

    • During Boot

    • Manually

  9. Click OK.

    The Password dialog box is displayed.

  10. Specify the Samba root password, verify the password, then click OK.

  11. Select the settings for the new share.

    1. Click Shares > All users > Edit.

      The New Share window is displayed.

    2. Specify the share name, then provide a short description of the share.

    3. Select the Directory option to share the folder.

    4. Click Browse to display the Browse for Folder dialog box. Browse to and select the path that you want to share.

    5. Select the Read-Only check box to only read the files that are shared.

    6. Select the Inherit ACLS check box to make new files inherit the default ACLs from the containing folder.

    7. Click OK.

  12. In the Share content-repo window, click Edit.

  13. In the Selected Option drop-down list, select guest ok, then click OK.

  14. Click OK.

Sharing the Content Repository on Windows

You can perform the following tasks in the order listed:

  1. Enable simple file system sharing.

    Windows 2003

    1. Click Start > All Programs > Accessories > Windows Explorer.

    2. Expand My Computer, then locate the shared folder or drive to that you want to share.

    3. Right-click the folder or drive, then click Properties.

      The Properties dialog box is displayed.

    4. Click the Sharing tab.

    5. Select the Share this folder option.

    6. Specify the share name and a brief description about the folder.

    7. Click Apply > OK.

    Windows 7

    1. Open Windows Explorer, then locate the shared folder or drive to that you want to share.

    2. Right-click the folder or drive, then click Properties.

      The Properties dialog box is displayed.

    3. Click Sharing > Share.

    4. In the Advanced Sharing panel, click Advanced Sharing.

      The Advanced Sharing dialog box is displayed.

    5. Select the Share this folder check box.

      The Settings panel is enabled.

    6. Specify the share name.

    7. Click Apply > OK.

  2. Use the gpedit.msc method to configure the group policy settings:

    1. From the desktop Start menu, click Run.

    2. In the Open option, type gpedit.msc, then click OK.

      The Local Group Policy Editor window is displayed.

    3. Double-click Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.

    4. Select the Network access: Let Everyone permissions apply to anonymous users option.

    5. In the Local Security Setting tab, select Enabled.

    6. Click Apply > OK.

    7. Select the Network access: Shares that can be accessed anonymously option.

    8. In the Local Security Setting tab, add the content-repo setting to the list of shares.

    9. Click Apply > OK.

    10. Restart the Server service from the Service Manager.

14.4.2 Sharing the content-repo Directory on a Satellite Server

To share the content repository on a Satellite Server, you must follow the procedures in Section 14.4.1, Sharing the content-repo Directory on the Primary Server.

In addition, if the Satellite Server is a promoted Satellite Server, you must configure the settings for allowing the user to access the content-repo directory anonymously.

For Windows:

  1. Open the Registry Editor.

  2. Go to HKLM/Software/Novell/ZCM.

  3. In the right pane, right-click New, then click String Value.

  4. Rename the string value as AllowAnonymousAccessToContentRepo.

  5. Double-click AllowAnonymousAccessToContentRepo.

    The Edit String dialog box is displayed.

  6. In the Value data field, specify the value of the string as True, then Click OK.

For Linux:

In the /etc/opt/novell/zenworks/conf/xplatzmd.properties file, set the value of the AllowAnonymousAccessToContentRepo string as True.

14.4.3 Configuring the Settings on a Managed Device

For managed devices to download the content repository by using a CIFS share, you need to configure the following settings on every device:

For Windows:

Create the following string value in the registry on the managed device:

HKEY-LOCAL-MACHINE\SOFTWARE\Novell\ZCM

Specify the value name as PreferredContentRepo. Set the value of the string as \\<ip address>\\content-repo\.

For example, PreferredContentRepo = \\164.99.137.82\content-repo\.

For Linux:

In the /etc/opt/novell/zenworks/conf/xplatzmd.properties file on the managed device, set the value of the PreferredContentRepo string as smb://<ip address>>/<content-repo>/.