Page 1 of 1 1
Topic Options
#39403 - 2003-04-22 03:27 PM AD Nested groups (INGROUP) ??
PW Offline
Lurker

Registered: 2003-04-22
Posts: 2
Greetings,
This my first post, please bear with me. I am running KiXtart 4.11 on my win2000 AD domain. I have mixed clients. WIn9X and win2K. I am questioning whether KiXtart will support nested groups. Here is a simple IF/ENDIF that I wrote.

IF INGROUP ("Ostivity Users")
shell "\\ostivity\OSTVPROD\osv2win.bat"
ENDIF

This works fine with individual users added to the "ostivity users" group. But if I add a global security group to the "ostivity users" group (nested group), the shell command does not seem to run. Do I need to do something different to accomplish this? Thanks
Paul

Top
#39404 - 2003-04-22 04:33 PM Re: AD Nested groups (INGROUP) ??
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
How about...

code:
IF INGROUP ("Ostivity Users","GLOBAL GROUP")
shell "\\ostivity\OSTVPROD\osv2win.bat"
ENDIF

By default INGROUP will return a "1" if the user is a member of ONE of the groups in the list. Otherwise, it will return a "0."

Top
#39405 - 2003-04-22 10:41 PM Re: AD Nested groups (INGROUP) ??
PW Offline
Lurker

Registered: 2003-04-22
Posts: 2
Chris, Tnx for the quick reply. Nope, that didn't do it. Any other thoughts? Thanks
Paul

Top
#39406 - 2003-04-22 10:54 PM Re: AD Nested groups (INGROUP) ??
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11611
Loc: CA
call using /f switch like this:
KIX32.EXE SCRIPT.KIX /F

Try it on a Global group that has been around for a while as well.



IF INGROUP ("YourDomainName\Ostivity Users")
  shell "\\ostivity\OSTVPROD\osv2win.bat"
ENDIF


Top
#39407 - 2003-04-27 09:00 AM Re: AD Nested groups (INGROUP) ??
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11611
Loc: CA
PW,

Did this work for you?

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
1 registered (ShaneEP) and 333 anonymous users online.
Newest Members
Praveer, Ollero, rayyo, Foxlicht, DonChild
17742 Registered Users

Generated in 0.125 seconds in which 0.086 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