[THIN] Re: OT: KIX question - ingroup()

  • From: "Pavlo Ignatusha" <pignatusha@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 1 Oct 2004 09:27:39 -0400

Return value from ingroup check is 0

Any thooughts? I keep looking through kixstart manual. 

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.


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf
Of Braebaum, Neil
Sent: Friday, October 01, 2004 9:20 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: OT: KIX question - ingroup()


The first thing I'd suggest is assigning the return from the ingroup
function to a variable, then echo-ing it.

$ReturnVal=ingroup("D-Common")
? "Return value from ingroup check is: $ReturnVal"

That may give you an indication.

Neil

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Pavlo Ignatusha
> Sent: 01 October 2004 14:06
> To: Org Thin (E-mail)
> Subject: [THIN] OT: KIX question - ingroup()
> 
> 
> 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?
> 

***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************

********************************************************
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: