NTLogon is a Python script that generates Samba/NT-logon scripts from an easy-to-modify configuration file. It currently understands the Samba macros for User, Group, and Architecture. The configuration file looks like a cross between an INI file and a DOS batchfile, so most Windows users will feel somewhat comfortable.