16.5 System Settings

The following sections contain more information:

16.5.1 DNS/Windows Domain Authentication and Quarantined Endpoints

In order to satisfy the following scenarios:

  • A guest user gets redirected

  • A user is redirected if their home page is the Intranet

  • The only host that is resolved is the domain controller (DC); and no other intranet hosts are resolved.

  • Windows domain authentication can take place from quarantine with minimal configuration

Perform the following steps:

  1. Configure the domain suffixes in the quarantine areas to a placeholder, such as the following:

    quarantine.bad

  2. Enter the full domain controller hostnames in the System configuration>>Accessible services area (for example, dc01.mycompany.com, dc02.mycompany.com).

  3. Ensure that each ES has a valid, fully qualified domain name (FQDN) and that the domain portion matches the domain for the registered windows domain.

  4. Ensure that each ES is configured with one or more valid DNS servers that can fully resolve (both A and PTR records) each ES.

  5. Ensure that the following ports on the domain controller/active directory (DC/AD) servers are available from quarantine:

    • 88

    • 389

    • 135-139

    • 1025

Novell ZENworks Network Access Control will then lookup the Kerberos and LDAP services, and resolve those services within its own DNS server used for quarantined devices.

For example:

_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.lvh.com. 86400 IN SRV 0 100 88 dc01.lvh.com
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.lvh.com. 86400 IN SRV 0 100 389 dc01.lvh.com 

When a browser is configured with an Intranet site as its home page, it will get redirected as shown in the following example process:

-> lookup intranet.mycompany.com

<- get an NXDomain (since dc01.mycompany.com is in the forwarders, all other mycompany.com hostnames get an NXDomain; that is the way named works).

-> lookup intranet.mycompany.com.quarantine.bad

<- get Novell ZENworks Network Access Control IP address

When the end-user logs in, they will be able to authenticate from quarantine even if credentials are not cached:

-> lookup the _kerberos and _ldap service location

<- receive dc01.mycompany.com& dc02.mycompany.com

-> lookup the dc01 IP address

<- receive the dc IP address forwarded through Novell ZENworks Network Access Control named to the real DNS server (since dc01.mycompany.com is in the accessible services list).

-> authenticate

16.5.2 Matching Windows Domain Policies to NAC Policies

Using a Windows domain might affect the end-user’s ability to change their system configuration to pass the tests. For example, in a corporate environment, each machine gets their domain information from the domain controller, and the user is not allowed to change any of the related settings, such as receiving automatic updates and other IE security settings.

The Novell ZENworks Network Access Control administrator needs to make sure the global policy on their network matches the NAC policy defined, or skip the test.

For example, if the global network policy is to not allow Windows automatic updates, any user attempting to connect through the High security NAC policy fails the test, and is not able to change their endpoint settings to pass the test.

For example, to change the NAC policy to not run the Windows automatic update test:

Home window>>NAC policies

  1. Select the NAC policy that tests the domain's endpoints.

  2. Select the Tests menu option.

  3. Clear the Windows automatic updates check box.

  4. Click ok.

16.5.3 Setting the Access Mode

The access mode selection is a quick way to select enforcement (normal mode) for all traffic into an Enforcement cluster, or open it up for trial-use purposes (allow all).

To change the access mode:

Home window>>System monitor>>Select an Enforcement cluster

  1. Select one of the following from the Access mode area:

    • normal— Access is regulated by the NAC policies

    • allow all— All requests for access are granted, but endpoints are still tested

  2. Click ok.

16.5.4 Naming Your Enforcement Cluster

To name your Enforcement cluster:

Home window>>System configuration>>Enforcement clusters & servers>>Select an Enforcement cluster

  1. In the Cluster name text field, enter a name. Choose a name that describes the cluster, such as a geographic location (like a street or city name), a building, or your company name.

  2. Click ok.

16.5.5 Changing the MS Host Name

To change the MS host name:

See Section 3.5.2, Modifying MS Network Settings.

16.5.6 Changing the ES Host Name

To change the ES host name:

See Section 3.4.4, Changing the ES Network Settings.

16.5.7 Changing the MS or ES IP Address

To change the MS or ES IP address:

The preferred method is to use the user interface:

However, if you cannot access the user interface, use the following instructions:

  1. Log in to the MS or ES as root using SSH or directly with a keyboard.

  2. Enter the following command at the command line:

    network-settings.py <ip address> <netmask> <gateway>
    

    Where:

    <ip address> is the new IP address for the MS or ES. For example, 192.168.40.10

    <netmask> is the netmask. For example, 255.255.255.0

    <gateway> is the gateway. For example, 10.1.1.1

16.5.8 Resetting your System

There are times when you may wish to revert to the as-shipped state for your system; reverting the configuration and database to that of a freshly installed system.

HINT:You must reset the system before you can change the personality of the server; that is, before you can change an MS to and ES or an ES to a MS.

To reset your system to the as-shipped state:

Command line window

  1. Log in as root to the Novell ZENworks Network Access Control MS or ES, either using SSH or directly with a keyboard.

  2. Enter the following command at the command line:

    resetSystem.py [both | ms | es]
    

    Where:

    No arguments — The system is reset to the same type (either a single-server installation with the MS and ES on the same server, an MS, or an ES), the database is cleared, and the property files are restored to their defaults

    both — The system is reset to be a single-server installation (MS and ES on one server), the database is cleared, and the property files are restored to their defaults

    ms — The system is reset to be an MS, the database is cleared, and the property files are restored to their defaults

    es — The system is reset to be an ES, the database is cleared, and the property files are restored to their defaults.

NOTE:The resetSystem.py file is in the following directory:

cd /usr/local/nac/bin

16.5.9 Resetting your Test Data

There are times when you may wish to revert to the as-shipped state for test data; clearing the database of all endpoints and test results, and resetting SAPQ and DHCP leases.

To reset your test data to the as-shipped state:

Command line window

  1. For single-server installations:

    1. Log in as root to the Novell ZENworks Network Access Control MS, either using SSH or directly with a keyboard.

    2. Run the script by entering the following at the command line:

      resetTestData.py
      
  2. For multiple-server installations:

    1. Stop the nac-es service on all ESs:

      1. Log in as root to each Novell ZENworks Network Access Control ES, either using SSH or directly with a keyboard.

      2. Enter the following at the command line:

        service nac-es stop
        
    2. Stop the nac-ms service on the MS:

      1. Log in as root to the Novell ZENworks Network Access Control MS, either using SSH or directly with a keyboard.

      2. Enter the following at the command line:

        service nac-ms stop
        
    3. Run the script on each ES:

      1. Log in as root to each Novell ZENworks Network Access Control ES, either using SSH or directly with a keyboard.

      2. Enter the following at the command line:

        resetTestData.py
        
    4. Run the script on the MS:

      1. Log in as root to each Novell ZENworks Network Access Control MS, either using SSH or directly with a keyboard.

      2. Enter the following at the command line:

        resetTestData.py
        

NOTE:The resetTestData.py file is in the following directory:

cd /usr/local/nac/bin

16.5.10 Changing Properties

To change the property values in the properties files:

Command line window

  1. Log in as root to the Novell ZENworks Network Access Control MS using SSH.

  2. Enter the following at the command line:

    setProperty.py <DESTINATION> <TYPE> <VALUES>

    Where:

    • <DESTINATION> is one or more of:

      -c <cluster name> Set properties on all Enforcement Servers in cluster

      -e <ES hostname> Set properties on Enforcement Server

      -a Set properties on all Enforcement Servers

      -m Set properties on Management Server

    • <TYPE> is one of:

      blank, nothing specified

      -l Properties are log4j properties

    • <VALUES> is one of:

      -f <filename> Filename of lines containing key=value

      - Standard input containing key=value

      <key>=<value> One or more key=value settings

      Note: a <value> of '-' will delete the property

For example, to change the upgrade timeout to 30 minutes, enter the following command:

setProperty.py -m Compliance.UpgradeManager.UpgradeTimeout=30

16.5.11 Specifying an Email Server for Sending Notifications

Novell ZENworks Network Access Control Enforcement clusters send alerts and notifications when certain events occur. You must specify an SMTP email server for sending these notifications. The server must allow SMTP messages from the Novell ZENworks Network Access Control ES.

To specify an email server for sending notifications:

See Section 3.17.5, Notifications.