?
Solved

Kixtart logon script 'InGroup' funtion not properly testing domain groups

Posted on 2009-02-11
4
Medium Priority
?
3,913 Views
Last Modified: 2012-05-06
I have a Win2003 AD with the usual 'Built-In' groups as well as my own 'domain\Security groups'
Next, I've downloaded the latest KixTart (2010 4.6 (but tried several older versions over the course of troubleshooting))

My problem is that the logon.kix script will successfully test the built-in groups and take the appropriate action.  But the statement to test my 'domain\groupname' does not work..

eg:
;This works
If InGroup ("Domain Administrators")
     use R: "\\server\foldershare"
EndIf

;This does not work
If InGroup ("domain\mygroup")
     use R: "\\server\foldershare"
EndIf

;This does not work
If InGroup ("mygroup")
     use R: "\\server\foldershare"
EndIf

I have tried qualifying the group with slashes and domains until I'm blue in the face.
The straight forward Kixtart statements to map drives\folder all work properly (no InGroup test)

Can use InGroup and NOT InGroup properly only if the group is a 'Built-In' group...

Any suggestions on how to get the InGroup test to properly find my own domain security groups?
0
Comment
Question by:ddowling357
  • 2
4 Comments
 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 23646611
0
 

Accepted Solution

by:
ddowling357 earned 0 total points
ID: 23801151
I started over and found a syntax error with the original statement.
0
 

Expert Comment

by:HGINA
ID: 35920475
What was your syntax error?
0
 

Expert Comment

by:HGINA
ID: 35920477
I'm having the same issue, can't seem to find a solution.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question