Page 1 of 1 1
Topic Options
#36189 - 2003-02-08 02:12 AM Win2k Active Directory Group
scottbow Offline
Lurker

Registered: 2003-02-08
Posts: 2
I'm having a tough time getting the ingroup command to work. It worked fine on my NT4.0 domain, but on my new win2k Active Directory domain it can't see groups inside Organization Units, only groups at the root level.

Am I missing something?

[ 08. February 2003, 02:13: Message edited by: scottbow ]

Top
#36190 - 2003-02-08 08:02 AM Re: Win2k Active Directory Group
NTDOC Administrator Online   content
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello Scott, and welcome to the board.

Without seeing your code it is hard to tell what you may be missing.

Also depends if they are Global or Universal.

You may also have to preface the Domain with the call.

Please post what version of KiXtart you're using and the code you are using as well. I'm sure either myself or someone else will be able to help you get it working as expected.

Also please try to take a look at the FAQ section here on the board to help you with other frequent issues.

Top
#36191 - 2003-02-08 02:53 PM Re: Win2k Active Directory Group
scottbow Offline
Lurker

Registered: 2003-02-08
Posts: 2
Thanks for the warm welcome!

I'm using kix2001.412

Here's the portion of the code that is having the problem:

code:
 
; Domain is 'jetsons'
; Logon and File server is 'george'
; MAP Special Drives
Color y+/n
AT (12,0) "Mapping Specialty Drives"
Color w+/n

if ingroup("IT-Admin")
?"T: (IT Admin)"
use t: "\\george\IT"

; I've tried this also

if ingroup("jetsons\IT-Admin")
?"T: (IT Admin)"
use t: "\\george\IT"




Top
#36192 - 2003-02-08 04:05 PM Re: Win2k Active Directory Group
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please take a look at the KiXtart Manual under IF as your IF-ENDIF syntax is incorrect. Each IF clause must be terminated with an ENDIF.
code:
if ingroup('IT-Admin')
? 'T: (IT Admin)'
use t: '\\george\IT'
? 'Error = '+@ERROR+' - '+@SERROR
endif



[ 08. February 2003, 16:05: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#36193 - 2003-02-14 04:55 PM Re: Win2k Active Directory Group
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Welcome to the board.

Is your problem solved?
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

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
0 registered and 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.057 seconds in which 0.027 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