Page 1 of 1 1
Topic Options
#123177 - 2004-07-16 11:13 PM Checking InGroup Fails
kacey Offline
Lurker

Registered: 2004-07-08
Posts: 3
This is a weird one and I'm not even sure if I can say it is a Kixtart issue but because Kixtart could not process the script correctly, I'm posting it for assistance.

The situation is this, I'm in an environment in an OU called GGA under the doman PWR.COM. In the GGA OU, I have several groups. Within them are groups Dist1, Dist2, Dist3 and GGA Admin. The Dist depicts the district and GGA Admin is within OU where I have all Admin users . I put users within their district group so I can map the home directory to their local servers.

To do that I'd used the statements:

If INGROUP ("District 1")
USE X: "\\districct 1 server\home\@USERID"
ENDIF
If INGROUP ("District 2")
USE X: "\\district 2 server\home\@USERID"
ENDIF

This all seems to work fine but recently I'm modifying the script so if you are in the GGA Admin group, you get an additional drive mapping to a server where I have all the Admin Utilities.

The Administrative Group existed for quite some time and the additional lines that I'd added are:

If INGROUP ("GGA Admin")
USE Y: "\\District 1 server\Admin"
ENDIF

For some reasons this does not work. I'd checked within my OU that the GGA Admin existed and it belongs in the Global group. I'd also checked the appropriate users within my OU is a member within it. They are confirmed to be correct.

In troubleshooting the problem, I'd created a script called Admintest.kix that has just the above 3 lines referencing to the Admin account and tried to execute it locally in the command prompt with the following parameters

kix32.exe admintest.kix /d

I used the /d option so I can step through the process. It fails all the time so I'm perplexed to why it could not find the group?

I'd also modified the INGROUP statement to include the domain and server for testing. The statements are:

If INGROUP ("\\AD server with KIX script\GGA Admin")
and
If INGROUP ("\\10.1.1.1\GGA Admin") ; IP of AD Server
and
If INGROUP ("\\AD server with KIX script\GGA\GGA Admin") ; point to OU GGA in AD.

Since my script worked to map home directory so I didn't think I needed to use the above statements but did it anyway as a test.

Can you provide some hint to where I need to check or what could be the cause?

Thanks in advance.

Top
#123178 - 2004-07-16 11:57 PM Re: Checking InGroup Fails
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
In a multi-domain environment, it is sometimes beneficial to include the netbios domain name. Normally the servername would just be used for local groups.

Did you try 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
#123179 - 2004-07-17 01:29 AM Re: Checking InGroup Fails
kacey Offline
Lurker

Registered: 2004-07-08
Posts: 3
I used the Active Directory server name and it didn't work. Also in the Netlogin folder on the AD server, I have a subfolder with my OU name where I have most of the Kixtart scripts. This way each administrator of their OU can customize their login process.

As to flushing the group cache, I don't know how to do that. Any hint will be appreciated.

Thanks again.

Top
#123180 - 2004-07-17 01:37 AM Re: Checking InGroup Fails
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
What folder under netlogon the script resides would have no bearing on the failure of InGroup(). Our company also uses folders under netlogon that match their OU name.

You can flush the cache either by deleting a reg key or by using the /F switch. This has been discussed often on this board.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

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

Generated in 0.051 seconds in which 0.026 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