Cool Solutions

Psuedo User based Assignments of Mac OS-X Bundles in ZENworks 11SP2+

jblackett

By:

August 21, 2013 2:26 pm

Reads:655

Comments:0

Score:Unrated

Starting with ZENworks 11, the ZENworks Configuration Management product is able to manage multiple device platforms. In ZENworks 11, you were able to manage Windows and Linux devices. In ZENworks 11SP2 this device support was extended to encompass Macintosh OS-X. One of the major differences in functionality between Windows management and Linux/Mac management is that Mac and Linux bundles and policies can only be assigned to devices. This means that when an application is assigned, it will default to being seen by all users of the device.

The purpose of this solution is to present a means to limit the availability of the bundle to only specific users, groups or folders in the LDAP directory. This solution uses the open source ldapsearch utility provided with both Mac OS-X and Linux to populate information from the LDAP directory to local environment variables. Once these variables are set you can then use them as system requirements to control app availability. This script assumes that:

  1. The user’s local device username is the same as their enterprise directory name.
  2. The end device can contact the LDAP server from their Mac when the application is executed.

This solution provides bundle templates that do the following:

  1. Ensures that the signer of the LDAP server’s CA is trusted by the OS-X device
  2. Ensures that the subject of the certificate maps to the correct IP in the HOSTS file
  3. Uses ldapsearch to populate files that the ZENworks Adaptive Agent reads on each refresh to set special environment variables.
  4. Optionally also includes the user’s local group memberships on the device
  5. Protects the LDAP information from tampering by regular users

For the purpose of this solution, the instructions and files are OS-X specific, however the same process should work for Linux devices as well if you wanted to create a similar set of bundles for Linux.

The zip file included includes 2 bundles templates that can be imported using the ‘zman bc’ command as well as a PDF file that walks through the possible changes you need to make for your environment.

Download: fetchldapinfo.zip

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Tags: ,
Categories: Technical, ZENworks Configuration Management

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS