ddowling357
asked on
Kixtart logon script 'InGroup' funtion not properly testing domain groups
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What was your syntax error?
I'm having the same issue, can't seem to find a solution.
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=127566&site_id=1#import