Page 1 of 1 1
Topic Options
#121831 - 2004-06-25 03:27 PM Problem with enumgroup
romu Offline
Lurker

Registered: 2004-06-25
Posts: 1
hi,
when i use enumgroup in my script, some of security domain group are not display,
so i can t map network drive for this users.

Do
$Group = EnumGroup($Index)
$Group = Ucase($Group)
$Index = $Index + 1
Select
Case $Group=@DOMAIN+"\SECRETARIAT"
Use $GROUPELIST[$GROUPEINDEX] "\\"+$FILESERVER+"\scrt$"
until len($Group)=0

i have some other group with the same security, in other OU and it works, and even if i move this groups in this OU, it doesn t work.

if you have any idea.
thanks in advance
Romuald


Top
#121832 - 2004-06-25 04:25 PM Re: Problem with enumgroup
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
First of all.. Welcome to the board.

Second.. Where is your ENDSELECT? And.. For this simple of a check, why are your using this when and IF..ENDIF would do it?

Code:

DO
$group = EnumGroup($index)
$group = Ucase($group)
$index = $index + 1
IF $group=@domain+"\SECRETARIAT"
USE $groupelist[$groupeindex] "\\"+$fileserver+"\scrt$"
ENDIF
UNTIL len($group)=0



Kent


Edited by kdyer (2004-06-25 04:28 PM)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

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.051 seconds in which 0.025 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