Page 1 of 1 1
Topic Options
#15123 - 2001-12-11 05:14 PM users and groups
kbarnett Offline
Fresh Scripter

Registered: 2001-11-09
Posts: 28
I am wriiting a script for my techs to use out in the field. One of the things they are asking for is to log onto a win95 machine as themselves (to get all the rights)and then give kixstart a user name and then find out what groups they belong to. I can do that for the current user, I just don't know how to tell it to get the same information for another user.

Thanks

Keith

Top
#15124 - 2001-12-11 11:57 PM Re: users and groups
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello Keith,

Perhaps you can rephrase your question. Windows 95 does not have groups. NT/2000 does.

Top
#15125 - 2001-12-11 11:59 PM Re: users and groups
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
C'mon DOC !
Just one more for # 700 !
_________________________



Top
#15126 - 2001-12-12 02:18 PM Re: users and groups
kbarnett Offline
Fresh Scripter

Registered: 2001-11-09
Posts: 28
Sorry about that, we have windows 95 workstations logging into a NT Domain. What we are looking for is the techs want to log onto the workstation as themselves to get the proper rights on the network that will allow them to do various tasks. However they would like the ability to in a kix script to enter a user and find out what groups they belong to.
Thanks Again

Top
#15127 - 2001-12-21 08:42 AM Re: users and groups
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello kbarnett,

I'm sorry... I lost this post somewhere in the mix.

I'm not sure there is any way to perform that task from a Windows 9x system. Windows 9x simply does not have the "smarts" in NET.EXE to do that. If it were NT/2000/XP you probably could.

However, using ADSI and KiXtart v4.01 you could get the information your talking about. You would need to first install ADSI on the Windows 9x systems.

The 2.5 release of Active Directory Service Interfaces (ADSI) (previously, OLE Directory Services)
for Microsoft Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 98, and Windows 95 operating systems.
ADSI makes it easy to create directory management applications using high-level tools such as
Microsoft Visual Basic, Java, or C/C++ without having to worry about the underlying differences between
the different namespaces.

Note: ADSI 2.5 is included with Windows 2000 http://www.microsoft.com/ntserver/nts/downloads/other/ADSI25/default.asp

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

Generated in 0.053 seconds in which 0.024 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