[THIN] OT: KIX question - ingroup()

  • From: "Pavlo Ignatusha" <pignatusha@xxxxxxxxxxxxx>
  • To: "Org Thin (E-mail)" <thin@xxxxxxxxxxxxx>
  • Date: Fri, 1 Oct 2004 09:05:50 -0400

Hi group,

I'm trying to map drives based on group membership through kix. I need to
support W95/98 and therefore I need to use kxrpc service. I installed
service on my PDC (we are W2K AD SP4) it is up and running. I launch my kix
script from the batch file specified as user's logon script in AD and set to
look for rpc service on logonserver:

%WINDIR%\SYSTEM\KIX32 MYSCRIPT.KIX /r=l

Kix script is just a bunch of IF statements like this:
---------------------------------------------------------------------------
? "Checking for membership in D-Common group..."
if ingroup("D-Common")
        ? "User is member of D-Common group. Mapping the Common drive..."
        use s: "\\servername\common$"
        else
        ? "User is NOT member of D-Common group. Checking the next group..."
endif
---------------------------------------------------------------------------

D-Common group is domain local group so my W95 clients should recognize it.
Group was originally created in OU different from Users. The ingroup can not
detect that my user is a member of this group. I renamed the group ro
DCommon, moved it to Users OU - nothing helped. If I change group in the kix
sccript to "Domain users" group it works and the drive gets mapped. What
could be the problem with my group?


Thanks,

Pavlo Ignatusha
Systems Network Coordinator
Pembroke General Hospital
Tel. (613) 732-3675 ext.6150
Fax. (613) 732-9986
www.pemgenhos.org

"All that matters is love and work" - Sigmund Freud.

********************************************************
This Weeks Sponsor RTO Software
Do you know which applications are abusing your CPU and memory?
Would you like to learn? --   Free for a limited time!
Get the RTO Performance Analyzer to quickly learn the applications, users,
and time of day possible problems exist.
http://www.rtosoft.com/enter.asp?id=320
********************************************************** 
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: