30.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.

30.1.1 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.

30.1.2 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.