#170106 - 2006-11-06 12:02 PM
Global InGroup Issue?
|
craigs9
Fresh Scripter
Registered: 2006-07-05
Posts: 22
Loc: London, UK
|
I have posted a similar possible problem with ingroup under Local Ingroup Issue I'm not sure whether the two are related but its possible.
Site B has a script that maps drives dependant on group membership. This was working fine as far as I know until the weekend when the groups were renamed to fit with a new naming convention. The code is as follows Code:
If Ingroup ("G CHWHT_Chris_Team") Use O: /delete /persistent Use O: "\\mha1\Clients\!Chris's Client List" If @ERROR $rc = WriteLine (1, "@DAY-@MDAYNO @MONTH," + "@TIME," + "@USERID," + " has problems mapping the O drive," +"\\@WKSTA\C$" + @CRLF) report EndIf EndIf
This is an example of one group but the problem seems to be happening for any of the drives which are dependant on the ingroup function.
Now for some users the drive isn't mapping even though they belong to the group concerned, however for some they are. For the one's that aren't no errors are reported. I have tried using ifmember.exe /list from a cmd prompt and this shows that the user is a memeber of the correct group with the new naming convention. Any ideas? Using Kix 4.53 on a w2k3 server
|
|
Top
|
|
|
|
#170108 - 2006-11-06 12:58 PM
Re: Global InGroup Issue?
|
craigs9
Fresh Scripter
Registered: 2006-07-05
Posts: 22
Loc: London, UK
|
Where is this cache located? To be honest didn't realise global groups were cached?
|
|
Top
|
|
|
|
#170110 - 2006-11-06 03:47 PM
Re: Global InGroup Issue?
|
craigs9
Fresh Scripter
Registered: 2006-07-05
Posts: 22
Loc: London, UK
|
Yep that seems to have fixed it....sorry although I'd seen the term tokenchache a few times never actually knew thats what it was. Thanks
|
|
Top
|
|
|
|
#170112 - 2006-11-06 04:01 PM
Re: Global InGroup Issue?
|
craigs9
Fresh Scripter
Registered: 2006-07-05
Posts: 22
Loc: London, UK
|
Now I know it exists I will do! From reading the manual and richards post it seems you can use the /f switch to do this I presume I can therefore do this as a matter of course before tokenising the script? i.e kix32.exe login.kix /f kix32.exe login.kix /t
|
|
Top
|
|
|
|
#170114 - 2006-11-06 04:17 PM
Re: Global InGroup Issue?
|
craigs9
Fresh Scripter
Registered: 2006-07-05
Posts: 22
Loc: London, UK
|
Oh ok- yep no worries will put something in place to clear the cache every so often
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|