Page 1 of 1 1
Topic Options
#81612 - 2003-05-15 12:29 AM NET USE vs INGROUP
KIXKicks Offline
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).

I wish that INGROUP had this functionality.

Top
#81613 - 2003-05-15 12:31 AM Re: NET USE vs INGROUP
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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.
_________________________
!

download KiXnet

Top
#81614 - 2003-05-15 12:37 AM Re: NET USE vs INGROUP
KIXKicks Offline
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.

Top
#81615 - 2003-05-15 12:44 AM Re: NET USE vs INGROUP
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh?
did I understood it right now either...

you want ingroup to be able to work to check group membership in such domain that the user has no right to check for group membership?
_________________________
!

download KiXnet

Top
#81616 - 2003-05-15 12:47 AM Re: NET USE vs INGROUP
KIXKicks Offline
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...

Top
#81617 - 2003-05-15 12:49 AM Re: NET USE vs INGROUP
KIXKicks Offline
Starting to like KiXtart

Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
Sort like RunAs functionality in Windows 2000/XP.
Top
#81618 - 2003-05-15 02:18 AM Re: NET USE vs INGROUP
NTDOC Administrator Offline
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.


IF INGROUP('OtherDomain\Administrators')
? 'You are Admin'
ELSE
? 'You are not Admin'
ENDIF

IF INGROUP('JimsDogHouse\BoneHeads')
? 'You can bury the bone'
ELSE
? 'You can not bury the bone'
ENDIF


[ 15. May 2003, 02:19: Message edited by: NTDOC ]

Top
#81619 - 2003-05-15 03:28 AM Re: NET USE vs INGROUP
Howard Bullock Offline
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.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#81620 - 2003-05-15 03:37 PM Re: NET USE vs INGROUP
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
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:
quote:
USE ["device"] <"resource"> [/USER:user] [/PASSWORD:password] [/PERSISTENT]

_________________________
There are two types of vessels, submarines and targets.

Top
#81621 - 2003-05-15 03:39 PM Re: NET USE vs INGROUP
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
thanks jens for translating my first reply to human understandable form [Wink]
_________________________
!

download KiXnet

Top
#81622 - 2003-05-15 03:43 PM Re: NET USE vs INGROUP
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Sometimes you have to repeat things for people to understand it. [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.035 seconds in which 0.015 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