7.1 Authentication Mechanisms

The following mechanisms can be used to authenticate managed devices to the ZENworks Management Zone:

7.1.1 Kerberos (Active Directory or Domain Services for Windows)

Kerberos, an authentication protocol developed at MIT, requires entities (for example, a user and a network service) that need to communicate over an insecure network to prove their identity to one another so that secure authentication can take place.

Kerberos functionality is included natively in a Windows Active Directory environment.

Kerberos requires the use of a Key Distribution Center (KDC) to act as a trusted third party between these entities. All Kerberos server machines need a keytab file to authenticate to the Key Distribution Center (KDC). The keytab file is an encrypted, local, on-disk copy of the host's key.

IMPORTANT:When attempting Kerberos authentication using smart card, ZENworks login process is attempted through ZENworks Credential Manager. Hence, the following capabilities are not available:

  • Dynamic Local User

  • Windows Roaming Profile Policies

  • Windows Group Policies

When using Kerberos authentication, the Active Directory server generates a Kerberos ticket that Novell Common Authentication Services Adapter (CASA) uses to authenticate the user, rather than using a username and password for authentication.

Setting Up Kerberos in your ZENworks Environment

IMPORTANT:If the Active Directory or Domain Services for Windows user source is configured to use only Kerberos authentication mechanism, ensure that the managed device is added to the user source domain.

  1. Set up a Kerberos service principal account and generate a keytab file for that account.

    For more information, see the Microsoft TechNet Web site.

    For example, if you created a user called atsserver in your domain, you would run the following command from the command prompt:

    ktpass /princ host/atsserver.myserver.com@MYSERVER.COM -pass atsserver_password -mapuser domain\atsserver -out atsserver.keytab -mapOp set -ptype KRB5_NT_PRINCIPAL

    This command creates a keytab file and modifies the user atsserver to be a Kerberos principal.

  2. Import the keytab file into ZENworks Control Center.

    1. In ZENworks Control Center, click the Configuration tab, click Infrastructure Management, then click User Source Settings.

    2. Click Browse icon to browse to and select the keytab file.

    3. Click OK to import the file.

  3. Restart the ZENserver service.

NOTE:ZENworks Server cannot be a member of the user source domain as this would require more than one keytab file. Currently only one keytab file for the domain is supported.

Enabling Kerberos Authentication While Adding a User Source

You can enable Kerberos authentication while adding a user source. For more information see Section 2.1, Adding User Sources.

Enabling Kerberos Authentication on an Existing User Source

You can enable Kerberos authentication on an existing user source.

  1. In ZENworks Control Center, click the Configuration tab.

  2. In the User Sources panel, click the user source, then click Edit next to Authentication Mechanisms in the General section.

  3. Select the Kerberos check box, then click OK.

Understanding How Kerberos Authentication and the ZENworks Login Dialog Box Interact

The following table illustrates the ZENworks user experience using Kerberos authentication with Active Directory:

Table 7-1 ZENworks Kerberos Authentication with Active Directory

Windows login matches user source login?

ZENworks also uses Username/Password authentication?

Member of same domain?

Member of different domain?

Windows and ZENworks credentials match?

Can log in to Management Zone?

ZENworks login dialog box appears?

Checked icon

Checked icon

Checked icon

 

Checked icon

Yes

No

Checked icon

 

Checked icon

 

Checked icon

Yes

No

 

Checked icon

 

Checked icon

 

Yes

Yes

 

 

 

Checked icon

 

No

No

 

 

 

Checked icon

Checked icon

No

No

 

 

 

 

 

No

No

 

 

 

 

Checked icon

No

No

Checked icon

Checked icon

 

 

Checked icon

Yes

No

 

Checked icon

 

Checked icon

Checked icon

Yes

No

 

Checked icon

 

 

 

Yes

Yes

For example, in the second row, the user’s initial login, user source, and ZENworks login credentials match. As a result, the user can log in to the ZENworks Management Zone and the ZENworks login dialog box does not appear.

As another example, in the third row, the user’s initial login credentials are using credentials from a different domain and are different than the ZENworks login credentials. As a result, the user can log in to the ZENworks Management Zone, but the ZENworks login dialog box appears.

Configuring ZENworks for Performing Kerberos Authentication with Domain Services for Windows (DSfW) Server

This section provides information about the tasks that need to be performed on DSfW and ZENworks Servers to configure Kerberos authentication for ZENworks login. It also includes information about additional settings and workarounds that need to be performed on the DSfW Server to ensure smooth Kerberos authentication for all users.

Pre-requisites

Configuring DSfW Server and Windows Workstation

For example, you can use the credentials provided below to configure the DSfW Server and Windows Workstation.

  • Domain name : cit193.com

  • User name for creating key tab file : mcertuser

  • Users for verifying the setup : muser1, muser2

To configure DSfW Server and Windows Workstation, you need to first add the Windows Workstation to the DSfW domain:

  1. Add the DSfW Server as the DNS Server.

  2. Select My Computer > Properties, then change the domain for the workstation to the DSfW server's domain.

  3. Provide the required credentials to add the workstation to the domain.

  4. Restart the client.

  5. Install Admin tools and Support tools on the client machine.

  6. These tools facilitate the DSfW Server management to create the keytab file. You can find the download details at http://www.microsoft.com/download/en/details.aspx?id=6315.

  7. Install the ZENworks client on the same client by downloading the appropriate ZENworks client set-up from the http://<ZEN server>/zenworks-setup server.

  8. Create a user in DSfW server by using Microsoft Management Console (MMC), which can be associated to the DSfW service by creating a keytab file. In this case, the user for creating the keytab file is mcertuser. The expected result is as shown in figure below.

ZENworks Server Configuration

Adding DSfW as a User Source in ZENworks

To add a user source and choose Kerberos as the authentication mechanism, see http://www.novell.com/documentation/zenworks11/zen11_system_admin/?page=/documentation/zenworks11/zen11_system_admin/data/bafywtr.html.

To verify the result, click the user source enabled with Kerberos. The result appears as shown in figure.

Adding a Kerberos Keytab file

  1. Log in to ZENworks Control Center.

  2. In Infrastructure Management, select Configuration > User Source Settings.

  3. Add the Kerberos keytab file. After the keytab file is you can view the details as shown in the figure.

Kerberos Authentication for Windows Workstation

To verify the settings and to ensure the working of Kerberos authentication on the client machine, login to Windows as any user. For example, you can log in as either muser1 or muser2 created using MMC.

The same login credentials are passed on to the ZENworks client and login happens seamlessly to the Windows workstation with the same user.

NOTE:

  • The user used for creating the keytab file cannot login using ZENworks client as this user is associated with a Service Principal Name (SPN) rather than a User Principal Name (UPN).

  • The UPN attribute is mandatory for a successful ZENworks Configuration Management and DSfW integration. The UPN attribute is created when the user is created by using the MMC.

  • In case of ConsoleOne and iManager tools, the user created will not have the UPN attribute.

Troubleshooting Tips

Issue: A user created by using iManager cannot login seamlessly using the ZENworks client.

The login fails with the error message “Could not attempt login because either username or password is null” as shown in the figure.

Possible Cause 1: The User Principal Name (UPN) attribute is not set for the users created using iManager.

Workaround: Set the UPN attribute by selecting the user to be supported for Kerberos authentication.To set the UPN attribute:

  1. Log in to iManager.

  2. Select Directory Administration > Modify object. Also, set this attribute in the Others tab as shown in the figure.

Possible Cause 2: The dnsDomainName attribute is not set at the root level in the DSfW domain.

Workaround: Set the dnsDomainName attribute at the root level of the DSfW domain so that reflects at the user's level.

To set the dnsDomainName attribute:

  1. Log in to iManager and select the domain root object. For example you can select cit193.com.

  2. Modify the object and add the Description field.

  3. Add the attribute dnsDomainName=cit193.com.

  4. Restart the ndsd (Novell Directory) services on the DSfW server.

    The existing user once modified and any user objects that you create in future will automatically gets the UserPrincipalName attribute. For more information, see TID 7009221 from the Novell Support Knowledgebase http://www.novell.com/support/documentLink.do?externalID=7009221.

Useful Links

7.1.2 Shared Secret

When using Shared Secret authentication, you must install and configure the Novell Identity Assurance Solution Client. For more information, and for a list of supported smart card readers and smart cards, see the Identity Assurance Solution Client documentation on the Novell Documentation Web site.

Authentication in to ZENworks by using Smart Card is currently supported only on Windows XP and terminal sessions of Windows Server 2003 device.

When a user uses a smart card to log in to eDirectory, the user is automatically logged in to ZENworks provided the schema of the eDirectory specified when the user source is added has been extended using novell-zenworks-configure tool.

For more information on adding the user source, see Section 2.1, Adding User Sources.

For more information on extending the eDirectory schema, see Extending the eDirectory Schema to enable Shared Secret Authentication.

If the eDirectory schema is not extended, then Shared Secret is not available as an authentication mechanism. Consequently, a ZENworks login dialog box is displayed when the user on the managed device attempts to log in to eDirectory using a smart card. After the user specifies the eDirectory username and password, that password is stored in Novell SecretStore. The next time the user uses a smart card to log in to eDirectory, the password is retrieved from SecretStore and the user is logged in to the ZENworks without having to specify the password.

Extending the eDirectory Schema to enable Shared Secret Authentication

To authenticate in to ZENworks by using Shared Secret authentication mechanism, the schema of the eDirectory specified when the user source is added must have been extended using novell-zenworks-configure tool.

Perform the following steps to extend the eDirectory schema:

  1. Run the novell-zenworks-configure utility on a ZENworks Server:

    On Windows: At the command prompt, change to ZENworks_installation_path\bin and enter the following command:

    novell-zenworks-configure.bat -c ExtendSchemaForSmartCard

    On Linux: At the console prompt, change to /opt/novell/zenworks/bin and enter the following command:

    ./novell-zenworks-configure -c ExtendSchemaForSmartCard

  2. You are prompted to continue with the action of extending the Novell eDirectory schema and adding an optional zcmSharedSecret attribute to the user class. By default, 1 is selected. Press Enter.

  3. Enter the DNS name or IP address of the Novell eDirectory server to extend the schema.

  4. You are prompted to select Secure Socket Layer (SSL) or Clear Text communication for communicating with the eDirectory server. Enter 1 for SSL communication or 2 for Clear Text Communication, then press Enter again.

  5. Enter the port for communicating with the eDirectory server.

    The default port for SSL communication is 636 and for Clear Text communication is 389.

  6. Enter the fully distinguished name (FDN) of the Administrative User.

    For example, cn=admin,o=organization

  7. Enter the password for the Administrative User specified in Step 6.

  8. (Optional) Enter the fully distinguished name for the ZENworks user source admin for whom the ACL would be applied.

    The ZENworks user source admin is configured as a user in the ZENworks user source configuration for reading users from the user source and need not be the Administrative User specified in Step 6. If you specify the fully distinguished name of this user, the program sets ACLs at the specified containers to provide read access to zcmSharedSecret attribute for this user.

  9. Enter the user containers for which you want to extend the schema.

    Multiple containers can be given separated by + sign. For example, o=sales or o=sales + o=marketing.

  10. Press Enter to generate random secret for all the users within the above containers.

  11. (Conditional) If you have chosen SSL communication for communicating with the eDirectory server, the server presents a certificate. Enter y to accept the certificate.

7.1.3 Username/Password (eDirectory, Active Directory, Domain Service for Windows)

When using Username/Password authentication with a Novell eDirectory, Microsoft Active Directory, or Domain Service for Windows user source, if the credentials the user specifies to log in to the workstation or to the domain match the ZENworks login credentials, the ZENworks login dialog box does not display and the user is authenticated to the ZENworks Management Zone.

The username and password are also stored in Secret Store. If a user later logs in to ZENworks where no username or password is available (for example, the user logged in using a smart card), the stored credentials are used and the ZENworks login dialog box is bypassed.

Enabling Username/Password Authentication While Adding a User Source

You can enable Username/Password authentication while adding a user source. For more information see Section 2.1, Adding User Sources.

Enabling Username/Password Authentication on an Existing User Source

You can enable Username/Password authentication on an existing user source.

  1. In ZENworks Control Center, click the Configuration tab, click the user source, then click Edit next to Authentication Mechanisms in the General section.

  2. In the User Sources panel, click the user source, then click Edit next to Authentication Mechanisms in the General section.

  3. Select the Username/Password check box, then click OK.

Understanding How Username/Password Authentication and the ZENworks Login Dialog Box Interact

The following table illustrates the ZENworks user experience using Username/Password authentication with Active Directory:

Table 7-2 ZENworks Username/Password Authentication with Active Directory

Windows login matches user source login?

ZENworks also uses Kerberos authentication?

Member of same domain?

Member of different domain?

Windows and ZENworks credentials match?

Can log in to Management Zone?

ZENworks login dialog box appears?

Checked icon

Checked icon

 

 

Checked icon

Yes

No

 

Checked icon

 

Checked icon

Checked icon

Yes

No

 

Checked icon

 

 

 

Yes

Yes

Checked icon

 

Checked icon

 

Checked icon

Yes

No

 

 

 

Checked icon

Checked icon

Yes

No

 

 

 

 

Checked icon

Yes

No

 

 

 

 

 

Yes

Yes

Checked icon

 

Checked icon

 

 

Yes

Yes

Checked icon

 

 

Checked icon

 

Yes

Yes

For example, in the first row, the user’s initial login, user source, and ZENworks login credentials match. As a result, the user can log in to the ZENworks Management Zone and the ZENworks login dialog box does not appear.

As another example, in the second row, the user’s initial login credentials are using credentials from a different domain but match the ZENworks login credentials. As a result, the user can log in to the ZENworks Management Zone, and the ZENworks login dialog box does not appear.