Page 2 of 2 <12
Topic Options
#110840 - 2003-12-25 09:27 AM Re: Network Ressources Mapping with User Auth
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
So that means I couldn't take some admin ressources or what if I login as admin

I don't understand this contribution any more, what shall I do now in the end?


Top
#110841 - 2003-12-25 11:28 AM Re: Network Ressources Mapping with User Auth
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Blut,

Why don't you explain a little more in detail exactly what it is you're attempting to do and maybe we can help you better.

1. Does this script run for all users as part of a normal logon script?

2. Do you run this script from your own computer against other computers (ie. a remote Admin Script)?

3. Is this an NT 4.0 Domain, 2000 Active Directory, or a Workgroup?

4. Where are the accounts located? On a Domain or on the local workstation?

5. Do your users have local admin rights on their own systems?

6. Are these NT Admin shares on local computer or are they hidden shares on a resource volume?

7. What version of KiXtart are you using?

8. Do you have Domain Admin rights yourself?

9. Are the systems involved NT 4, 2000, or XP or a mixture?


Please supply this information and we can make a better educated suggestion for you to accomplish the task you want to complete.

Top
#110842 - 2003-12-25 11:51 AM Re: Network Ressources Mapping with User Auth
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
Quote:

Blut,

Why don't you explain a little more in detail exactly what it is you're attempting to do and maybe we can help you better.





Because English isn't my mother tongue I do relative heavily complex context to explain. So you understand it.
But I try my best one.

1.) The scripts run for all users if they logged in.
2.) The script is currently at all workstations password protected.
3.)This is only a workgroup
4.) The user accounts are at all workstation with the exactly password and username combination.
5.) I have different usergroups with special userrights, but the script must work if a user with admin right logg in or if not an admin. Local Admins have admin rights.
6.) These admin shares are at one of my workstation. c$ mean that is an admin share...
7.) My kixstart version is 2001_422
8.) I haven't got a domain only workgroup
9.) The Operating Systems at all workstations is XP Professional with SP1

I hope this information could help you.
Thank you helping.....

Top
#110843 - 2003-12-25 03:27 PM Re: Network Ressources Mapping with User Auth
Donald_99a Offline
Fresh Scripter

Registered: 2002-03-02
Posts: 6
Loc: Karlsruhe, Germany
Hi,

As a User you can not connect to a "Admin-Share", like "C$".
I think the best Way is to put the "Everyone" group to the "Administrator" Group of the Ressource you want to connect. Publishing an "Administrator" Password is not the right way.

Greetings...

Top
#110844 - 2003-12-25 05:48 PM Re: Network Ressources Mapping with User Auth
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
But if I put the everyone group to the admin group that'S impossible because everyone is a guest, too.

Another way is to create any user group who only can connect at the admin share. Administrators and speciel Users can use this admin shares that's the better way.

But at first I need the correct login syntax as user xy with pass xyz then I can create one group with especially users that allowed to use the admin shares.

Top
#110845 - 2003-12-30 03:08 AM Re: Network Ressources Mapping with User Auth
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
A) The EVERYONE group should NEVEr be a local adminsitartor.
B) Admin shares require local admin privileges.
C) If a non-admin needs to connect to an admin share then a local admin account MUST be used to map that share.
D) A user cannot authenticate as two different users againstt he same computer unless one used the IP address for the second authntication
E) The answer ahs already been provided to you and is well documented in the KiXtart Manual under USE
Code:

$comp='workstation'
$user='username'
$pass='password'
use u: '\\'+$comp+'\c$$' /user:+$comp+'\'+$user /pass:$password

will map the admin share C$ as drive letter U: using the credentials 'username' with password 'password' of the computer 'workstation'.
F) Having identical admin usernames/passowrds on all computers is a BIG security risk. You might be better off implementing a domain model and assigning proper rights to users. Why do users need to connect to admin shares? Admin shares are for admin purposes and should not be misused for other things.

You might want to read up on basic computer/network security if you want to implement a safe computing environment.
_________________________
There are two types of vessels, submarines and targets.

Top
#110846 - 2003-12-31 12:27 PM Re: Network Ressources Mapping with User Auth
Blutgerinsel Offline
Fresh Scripter

Registered: 2003-12-18
Posts: 14
I have just create any account by the workstation which are my shares. The drives get new share setting who the new user account can use.

So I use your script and nothing happens.....
At all time if I use the use command with user and password parameters the [censored] does not work.
And with this script works are settings without user and password not.....

I have no idea...damn

Top
#110847 - 2004-01-02 02:36 AM Re: Network Ressources Mapping with User Auth
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Enable eventlog logging and check the eventlogs on the local machines. I can assure youthat USE does work with alternative credentials in both a WORKGROUP and a DOMAIN settings as I am using both.

Please show the latest script you've used.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 2 of 2 <12


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

Who's Online
0 registered and 369 anonymous users online.
Newest Members
rrosell, PatrickPinto, Raoul, Timothy, Jojo67
17877 Registered Users

Generated in 0.059 seconds in which 0.025 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