PW
(Lurker)
2003-04-22 03:27 PM
AD Nested groups (INGROUP) ??

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


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

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."


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

Chris, Tnx for the quick reply. Nope, that didn't do it. Any other thoughts? Thanks
Paul


NTDOCAdministrator
(KiX Master)
2003-04-22 10:54 PM
Re: AD Nested groups (INGROUP) ??

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



NTDOCAdministrator
(KiX Master)
2003-04-27 09:00 AM
Re: AD Nested groups (INGROUP) ??

PW,

Did this work for you?