KIXKicksKIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
One feature I find very useful is the NET USE command where you can specify the DOMAIN, Username and Password in the command line. This is extremely useful for when the computer is not on the domain (home users for example).
use and ingroup has nothing to do with each other... if you want those switches to kixtart's use, they are there. if you want ingroup to handle other domains, that is there too.
KIXKicksKIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
I realize the NET USE is for mapping network drives and INGROUP is for checking user membership in groups.
The problem with INGROUP is if the computer is not authenticated on the DOMAIN then INGROUP returns nothing even if the user is part of the group. This may not be an INGROUP problem, but I need some way to authenticated the user to the domain so that INGROUP can read the group memberships and give the proper answer.
KIXKicksKIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
Almost...
My mistake...
Yes, I want to INGROUP to check a DOMAIN Membership that the current logged in user has no rights too...however by passing the Domain, Username, and Password with INGROUP it would have the correct Authenticate to check the group membership...
NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11634
Loc: Space
INGROUP does check other Domains, but you would still require a Trust. You can't provide credentials for many of the NT Networking commands either. As long as your are trusted to query the remote system then you should be able to run the IF INGROUP against it.
Howard BullockHoward Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
KIXKicks, you can do what you want. First use "USE" with a valid domain account and password to connect to \\dc\ipc$. This will provide your authentication to the DC. INGROUP should work for you then.
quote:One feature I find very useful is the NET USE command where you can specify the DOMAIN, Username and Password in the command line. This is extremely useful for when the computer is not on the domain (home users for example).
This functionality is provided inthe USE command. Please read the KiXtart Manual! Quote fromthe Manual: