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

  • From: Dogers <dogers@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Fri, 1 Oct 2004 15:13:30 +0100

Doh! :)


On Fri, 1 Oct 2004 10:07:17 -0400, Pavlo Ignatusha
<pignatusha@xxxxxxxxxxxxx> wrote:
> OK, folks nevermind...
> 
> I was logged on and was trying to re-run the script locally without
> loggin-off and back on. I think you need to refresh you token to
> re-enumerate your groups in windows 95. As soon as I logged off-logged back
> in the group showed up.
> 
> Thanks a lot for your help!
> 
> 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 Pavlo Ignatusha
> Sent: Friday, October 01, 2004 10:02 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: KIX question - ingroup()
> 
> Andrew,
> 
> this returned a bunch of groups :
> 
> mydomain\Domain users
> Everyone
> Users
> Pre-Windows 2000 compatible Access
> network
> Authenticated users
> mydomain\bla-bla
> mydomain\bla-bla
> mydomain\bla-bla
> ......
> mydomain\bla-bla
> 
> Except for the built-in groups others are all global groups. I deleted
> D-Common domain local group and created global group D-Common. But it still
> does not show up there.
> 
> I have 2 W2K DCs and 2 NT4 BDCs can this be a problem? I only run kixRPC
> service on my W2K PDC
> 
> 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 Dogers
> Sent: Friday, October 01, 2004 9:45 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: KIX question - ingroup()
> 
> How about enumerating what it can see?
> $Index = 0
> DO
>   $Group = ENUMGROUP($Index)
>   ? $Group
>   $Index=$Index+1
> UNTIL Len($Group) = 0
> 
> See what that brings up?
> 
> Andrew
> 
> On Fri, 1 Oct 2004 09:33:05 -0400, Pavlo Ignatusha
> <pignatusha@xxxxxxxxxxxxx> wrote:
> > I tried - still no go.
> >
> > Does it matter where in AD the group should be? Does it have to be Users
> or
> > in any OU?
> >
> > And is it true for win9x client it has to be local 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.
> >
> >
> >
> >
> > -----Original Message-----
> > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
> Behalf
> > Of Dogers
> > Sent: Friday, October 01, 2004 9:27 AM
> > To: thin@xxxxxxxxxxxxx
> > Subject: [THIN] Re: OT: KIX question - ingroup()
> >
> > KIX caches domain groups - try "kix32 scriptname /f"
> >
> > Andrew
> >
> > On Fri, 1 Oct 2004 09:05:50 -0400, Pavlo Ignatusha
> > <pignatusha@xxxxxxxxxxxxx> wrote:
> > > 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
> > >
> > ********************************************************
> > 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
> >
> >
> >
> > ********************************************************
> > 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
> >
> ********************************************************
> 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
> 
> ********************************************************
> 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
> 
> 
> 
> ********************************************************
> 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
>
********************************************************
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: