Check out the %USERDOMAIN% AND %USERDNSDOMAIN%  environment variables. Run "set" from 
a command prompt to get a list of them.
 
--Brian

        -----Original Message----- 
        From: Jacqui Hurst [mailto:[EMAIL PROTECTED] 
        Sent: Thu 7/22/2004 2:31 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: [ActiveDir] KIX script and Active Directory
        
        

        I am working on a migration from NT4 to Windows 2003 which includes the 
collapsing of a number of domains into a single domain.  Part of the existing NT4 
login script uses the NT4 domain as a variable to setup things like users drive 
mappings e.g. xx-fileserver-01 where xx is the domain code. These scripts are written 
in KIX.  As Iâm not the worlds greatest code writer and there are a fair few login 
scripts I am looking for a way to set a variable that can be used by the login script 
to set the users location without rewriting all of the scripts.

         

        I donât really want to use group membership if I have to I would rather use 
an attribute in the active directory and look this up.

         

        Has anyone got any advice?

         

         

        Many thanks in advance

         

        Jacqui

         

         

<<winmail.dat>>

Reply via email to