If you go in the Kixtart - Script forum, you'll find a script sample named 'Domain login script' (or something approaching) which will give you an answer.

Bye