Page 1 of 1 1
Topic Options
#122301 - 2004-07-07 05:24 PM Multiple InGroup Failing
ocl Offline
Lurker

Registered: 2004-07-07
Posts: 1
For whatever reason, the second InGroup check absolutely fails to be processed... can anyone spot what I am missing?

-----------------

use h: \\<server>\vol2
use i: \\<server>\vol3

use k: \\<server>\vol1\users
use l: \\<server>\vol1\users\%username%

If InGroup( "Main" )
use j: \\<server2>\c
use g: \\<server>\vol1
EndIf

If InGroup("SpecialUsers")
use p: \\<server3>\Data
EndIf

;use p: \\<server3>\Data

Top
#122302 - 2004-07-07 05:28 PM Re: Multiple InGroup Failing
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Nope nothing looks obvious. What happens if you run to the command manually? Does it work? Also is P already in use?

Also might be worth adding error checking, this can be found in the starter manual

Aaron

P>S does that group actually exist? Sure its not ("Special Users")


Edited by AzzerShaw (2004-07-07 05:29 PM)
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#122303 - 2004-07-07 05:30 PM Re: Multiple InGroup Failing
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Is this a recently created or renamed group? Have you tried flushing the group cache?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#122304 - 2004-07-07 08:14 PM Re: Multiple InGroup Failing
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Add an ELSE condition to the if statement to show you if the INGROUP returns FALSE.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.057 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org