Managing OS X workstations on a Novell network is easier than it was, but nowhere near as easy as it should be. Although solutions such as Kanaka and the modified eDirectory schema for OS X can facilitate login and management of MCX settings, there are some areas where it is much easier to manage a Windows workstation than a Mac. This script attempts to address a few of those areas.
The script attached to this post is a "login hook" -- a special shell script that runs as root when a user logs into an OS X workstation. Login hooks can be written in any scripting languages that OS X supports, and this one is written in perl. For more information on login hooks, please see http://support.apple.com/kb/HT2420
The login hook attached does three things to help level the playing field between user login to OS X and Windows workstations on a Novell-based network.
The purpose of this script is to provide smoother integration between eDirectory and OS X. You will probably want to chop it up and use bits of it in your own login hook. Please note that since you have eDirectory groups in a convenient array, it is easy to extend the script's functionality.
This script has been tested with OS X 10.3 - 10.5 and should work with 10.6. It targets GroupWise 7.x - 8.x. It supports any login scheme where OS X workstations are using eDirectory usernames (i.e. Kanaka, modified LDAP, local login with the same username as eDirectory). An eDirectory LDAP server that allows port 389 lookups is required.