Title: Message
Yes that's true also, administration will be a pain but as long as the scripts do not have to be changed frequently for any reason then you should just be able to set it and forget it (no pun intended) ;-)


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue David J Contr InDyne/Enterprise IT
Sent: Friday, July 23, 2004 10:27 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] KIX script and Active Directory

If your users are organized by OU, you can create different GPOs for each OU and then use the Logon Script setting to give each one a different batch file.
 
Dave
 
--------------------------------------------------------------
David J. Perdue
MCSE 2000,
MCSE NT, MCSA, MCP+I
 
Network Security Engineer, InDyne Inc 
Comm: (805) 606-4597    DSN: 276-4597
[EMAIL PROTECTED]
--------------------------------------------------------------
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacqui Hurst
Sent: Friday, July 23, 2004 7:11 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] KIX script and Active Directory

Please don't apologise, I agree with you.

 

I have been tasked with trying to avoid the use of the groups for some reason. They didn't respond to the suggestion of the use of additional groups hence the reason for looking for the alternate method.

 

If only life were simple J

 

Jacqui

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Wassell
Sent: 23 July 2004 14:15
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] KIX script and Active Directory

 

I'm sorry in advance I don't mean to be rude, this is just a suggestion.

 

I really think that your making this more difficult than it has to be by querying AD for specific user properties.  Is there a reason why you can't use a simple security group, assign membership according to user location and use the InGroup function to determine what to do for whom and build off of that accordingly?

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacqui Hurst
Sent: Friday, July 23, 2004 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] KIX script and Active Directory

Sorry,  After a long day I don't think I explained myself very well. Really what I was getting at was that I no longer had the domain name to use as an identifier to where a users local office was as they were now merged.  The attribute/variable items were possible thoughts on where I could store new information about the users local office code eg. LN.  This could then be used to identify their local server e.g. LN-fileserver-01. 

 

I think I have now found a way within kix using $Object = Create("ADSystemInfo) which returns me the username of the user.  This identifies their OU which I'm hoping with a little trimming etc I will be able to extract their OU, this identifying their location.

 

I'm still open to suggestions as I guess my code won't be the best in the world!  I was hoping to be able to read a different user attribute eg. Physicaldeliveryofficename or employeeID but I have given up on that for now. 

 

Jacqui

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Cornetet
Sent: 22 July 2004 22:14
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] KIX script and Active Directory

 

I don't understand your question fully. You say you want to "set a variable" which will control drive mappings, but then you go on to say that you want to look up an attribute in AD to set the location. What attribute would that be?

 

Can you be more specific? 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacqui Hurst
Sent: Thursday, July 22, 2004 2:31 PM
To: [EMAIL PROTECTED]
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

 

 

Reply via email to