Hi List,

This is a reply to a post from back in the summer...not sure if anyone
is still interested or not...

Original Thread:
http://www.mail-archive.com/[email protected]/msg04386.html

Instead of using registry changes here, I took advantage of the
autolog.pl scripts abilities, but modified the default behaviour.

By adding the following perl code to config.pl in /<path to
unattended/site/config.pl, I made the existing script 'do the right
thing' for my needs.

Code Snippet:
$u->{'_meta'}->{'autolog'} =
    sub {
        my $domain = $u->{'Identification'}->{'JoinDomain'};

        if (defined ($domain)) {
            return "autolog.pl --logon=0 --domain=$domain";
        } else {
            return "autolog.pl --logon=0";
        }
    };

Worked like a champ for me.  Hope it can help someone else too.

Thanks
-Ben
-- 
Ben Walton
Systems Programmer
Office of Planning & IT
Faculty of Arts & Science
University of Toronto
Cell: 416.407.5610
PGP Key Id: 8E89F6D2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to