This is an example script showing how to make Netware or KixTart like login scripts with Samba. It demonstrates how to make drive mappings based upon username and/or group membership, and how to insert a user-/machinename in a BIND8 DNS server, so you can have a dynamic DNS server with which you can resolve a username/machinename to an IP address.