Page 1 of 1 1
Topic Options
#117027 - 2004-03-29 08:04 PM Active Directory in Mixed mode...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Our domain is AD but still has some NT 4 servers/bdcs.

When our server team converted the domain they renamed some of the NT groups. They added the 'old win2k name' option with the old name still but in my login script I have to look for both names for it to work properly.

Anyone else have an issue like this? And is it really an issue?

example:
This works - Code:

IF(
(InGroup(@LDOMAIN+'\AGA_users'))OR
(InGroup(@LDOMAIN+'\Agawam'))
)
?'[ Creating DCSAGA ShortCut ]'
$MPATH='C:\MiniSoft\WS92'
COPY @SCRIPTDIR+'\_auxscr\YantraDCS\DCSAGA.W92' $MPATH
COPY @SCRIPTDIR+'\_auxscr\YantraDCS\DCSAGA.lnk' $DPATH
ENDIF

This don't - Code:

IF(
(InGroup(@LDOMAIN+'\AGA_users'))
)
?'[ Creating DCSAGA ShortCut ]'
$MPATH='C:\MiniSoft\WS92'
COPY @SCRIPTDIR+'\_auxscr\YantraDCS\DCSAGA.W92' $MPATH
COPY @SCRIPTDIR+'\_auxscr\YantraDCS\DCSAGA.lnk' $DPATH
ENDIF





Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#117028 - 2004-03-29 08:26 PM Re: Active Directory in Mixed mode...
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
You shouldn't have to specify the Domain, unless the domain is a different domain than what the user is loggin in to. Also, you can specify the MODE when performing an InGroup()...

Code:

If INGROUP ("AGA_users", "Agawam", 0)
"Do stuff..." ?
EndIf




Top
#117029 - 2004-04-02 05:55 PM Re: Active Directory in Mixed mode...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Ok you corrected my script (muchos gracias) but didn't answer the question. So, will I always have to look for both group names? and Is that normal or not?

Thanks,
Rocco

_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#117030 - 2004-04-02 11:00 PM Re: Active Directory in Mixed mode...
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
But by specifiying the Domain in a multi-domain model you speed up the query.
Top
Page 1 of 1 1


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

Who's Online
0 registered and 871 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.15 seconds in which 0.085 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