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

32.2.1 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>/.

The imaging content is replicated according to the default content replecation schedule even if you change the schedule after promoting a managed device to an Imaging Satellite.

Configuring the SMB Protocol

To configure the SMB protocol in ZENworks, a new registry key PreferredSMBProtocol has been introduced. Using this registry key, you can choose the preferred SMB protocol. The valid values are SMBv1 and SMBv2.

By default, ZENworks is configured to use the SMBv2 protocol. However, if you prefer to use SMBv1 protocol, perform the following:

On Windows managed device: Create the PreferredSMBProtocol registry key, and set the value of the string as SMBv1.

On Linux managed device: In the /etc/opt/novell/zenworks/conf/xplatzmd.properties file, add PreferredSMBProtocol key and set the value of the string as SMBv1.

32.2.2 Configuring Windows CIFS share

To make Windows CIFS share accessible, you must create a null session share. Perform the steps according to your device:

Setting up a null session share on an NT-based device

  1. From the Start menu, Run the program regedt32.

  2. In the Registry Editor window, search the HKEY_LOCAL_MACHINE on Local Machine window.

  3. Navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/lanmanserver/parameters.

  4. Open the multi string value NullSessionShares and add the share name from the selected folder. Enter the value on a new line in the registry value.

  5. Close the Registry Editor window.

  6. Under Administrative Tools, select Services.

  7. Right-click the Server service and select Restart to restart the service.

Setting up a null session share on a Windows 2003 Server

If the system where you are creating the null session share is running Windows 2003 Server, you must enable the Group Policy "Network access: Let Everyone permissions apply to anonymous users". You must perform the steps mentioned in Setting up a null session share on an NT-based device, then perform the following steps:

  1. Click the Start menu.

  2. Click Run.

  3. Specify gpedit.msc.

  4. Go to the following location: Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options.

  5. Double-click Network access: Let Everyone permissions apply to anonymous users.

  6. Select Enable and press Enter.

Setting up a null session share on Windows 2008 Server

If the system where you are creating the null session share is running Windows 2008 Server, you must enable the Group Policy "Network access: Shares that can be accessed anonymously". You must perform the steps mentioned in Setting up a null session share on an NT-based device, and Setting up a null session share on a Windows 2003 Server, then perform the following steps:

  1. Click the Start menu.

  2. Click Run.

  3. Specify gpedit.msc.

  4. Go to the following location: Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options.

  5. Double-click Network access: Shares that can be accessed anonymously.

  6. Select Enable and press Enter.

To test your setup, use the net use command to connect to your resource using an anonymous login and null password. From a command prompt, execute the following:

net use \\servername\sharename "" /user:""

(Where \\servername\sharename is replaced by the UNC of the null share.)If you already have a connection to the server, you must clear the connection to the server prior to executing the above command, or it will instead attempt to map the device using the previously successful connection parameters.

The response The command completed successfully indicates that the device mapped successfully, while errors such as System error 5 has occurred. Access is denied indicates a failure and you must verify your setup.If you have successfully mapped the device, then copy files to or from the resource \\servername\sharename to ensure that you have the required access.