Page 1 of 1 1
Topic Options
#41897 - 2003-06-20 05:50 PM Apply script based on group membership
wjb3 Offline
Lurker

Registered: 2003-06-20
Posts: 1
Loc: Austin, TX
Hello,

New to Kixtart. Our org's Active Directory has limitations, one of which is the discouragement of applying GPOs on user groups or modifying user account info. So, in order to do functions such as folder redirection, roaming profiles, and drive mappings, we must use scripts.

The method we'd like to pursue is this:

A computer is a member of a specific group (called "GroupComputers") inside a sub-OU called "LogonScripts". Users (and/or groups) are members of a group "GroupUsers" also in the LogonScripts OU. Each department's OU will have such an OU called "LogonScripts".

When a user logs in at a specific computer, we want a check to be run to determine what group the computer is a member of; and if that computer is a member of a specific LogonScripts OU's "GroupComputers", and the user is a member of the corresponding "GroupUsers", then a script is run to apply the settings desired as described above.

We've determined a way to check for computer and user group membership through standard Windows scripting. However, we need to find an easier way to script the specific user settings (folder redirection, profiles, drive mappings).

Probably a can of worms question, but is this possible via Kixtart?

Thanks.

Top
#41898 - 2003-06-20 05:52 PM Re: Apply script based on group membership
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Welcome to the board!

Can you show us what kind of script you have in place? In other words, can you post the code as it exists today? More than likely, with the talent around here, it should be easily converted.

Thanks,

Kent

[ 20. June 2003, 17:53: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#41899 - 2003-06-21 03:56 AM Re: Apply script based on group membership
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Bottom line answer is YES it can be done with KiXtart version 4.21 and run from either a Windows 2000/2003 or XP system.

Please provide more information as to what you already have and what you want to do in more detail, but maybe taking it one piece at a time.

So, you're Company has no qualms about running Administrative scripts against the AD which could potentially cause more damage then some of the other tools? LOL

Any ways. Take it in pieces and read up on KiXtart and the FAQs here on the board. Sooner then you think you'll get this all working.

Top
#41900 - 2003-06-21 04:08 AM Re: Apply script based on group membership
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Group membership and OU are very different. Users can be tested for group membership with InGroup() but computers cannot. There are several UDFs posted that let you test on OU.

http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=12;t=000179
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1376 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.054 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org