Page 1 of 1 1
Topic Options
#5184 - 2000-11-20 10:52 AM help login to remote servers
Anonymous
Unregistered


Hi,
i am a new user.
I am trying to login to remote servers ( i already have a username & password on them )via a script which will NOT show the username & password info.
The environment is Win NT Server 4 SP4 with Win 95/98 and WinNT WS 4 clients.
Any help will be appreciated.

Top
#5185 - 2000-11-20 03:23 PM Re: help login to remote servers
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
are you attempting to logon to a server that you are currently not authenticated to, but you have a "Remote Server" account (user name/password) that does have access?

Bryce

[This message has been edited by Bryce (edited 20 November 2000).]

Top
#5186 - 2000-11-20 06:28 PM Re: help login to remote servers
Anonymous
Unregistered


yes, that is the idea.

i have tried the command
use x: "\\192.xxx.xxx.xxx\share" /user:xx /password:xx

but i get error 67( bad net name ) on the @error macro

Top
#5187 - 2000-11-20 06:53 PM Re: help login to remote servers
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
try this.

use "\\<server>\share" /user:'<server>\<user>' /password:<password>


Bryce

Top
#5188 - 2000-11-21 08:35 AM Re: help login to remote servers
Anonymous
Unregistered


Unfortunately the error is still 67 and the login cannot be performed.
Any other ideas?

P.S. thanks for your time

Top
#5189 - 2000-11-21 02:21 PM Re: help login to remote servers
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia

Can you PING the 192 address? Also, some 192 addresses are not routed by some equipment - I believe part of the 192 subnet is for isolated networks only. It might be 192.223 or 192.0.2 but I cannot remember.

Can you NET VIEW <server>?

cj

Top
#5190 - 2000-11-21 02:33 PM Re: help login to remote servers
Anonymous
Unregistered


I can ping the address. It is a WAN address.
You are right about the 192.xxx.xxx.xxx address.
All i want to do is to be "authorised" as a user in the remote system, in order to be able to see the \shared directory.

Imagine a WAN with 3 points and the servers, due to bandwidth restrictions, are set as single domains.I do not want them to be in a trusting - trusted relationship.

The "remote login" can be done easily by the administrator but not by my users.

Top
#5191 - 2000-11-21 04:06 PM Re: help login to remote servers
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Ok, I am guessing here that the error#67 "bad net name", is something to do with resolution of the ip address. Try adding a name to your hosts file (or DNS server if you have one) and use that name in the kix script.

If you are just wanting to make an "Admin" connection to the remote server make the connection to \\<server>\ipc$. in kix it would be like this.

use "\\<server>\ipc$$" /user:'<server>\<user>' /password:<password>

once you have a connection to the ipc$ share you can do any thing that you want to that server.

Bryce


Top
#5192 - 2000-11-21 04:38 PM Re: help login to remote servers
Anonymous
Unregistered


Thanks to all for your time and efforts.

The script seems to work just fine in NT 4.0 I use a dummy account with admin rights but it is safe for the users since they see whatever i want them to see

Still having trouble with Win 95 / 98 ( the password parameter ) in the \IPC$
Any other ideas?

Top
#5193 - 2000-11-21 05:17 PM Re: help login to remote servers
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
ahhhh I understand now!

you can only use the /user and /password on NT computers only.

win9x just wasn't built to handle this type, or any type, of security.

Bryce


Top
#5194 - 2000-11-22 10:32 AM Re: help login to remote servers
Anonymous
Unregistered


Yes the whole problem is about authentication and security in the remote servers.
The only thing i can do now is to duplicate the Win9x clients to the remote servers.
If you come up with any ideas i'll be gratefull.
Thanks in advance

Top
#5195 - 2000-11-22 04:41 PM Re: help login to remote servers
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
have you tried shelling out and using the "net use..." command?

Bryce

Top
#5196 - 2000-11-22 08:24 PM Re: help login to remote servers
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
There is also RSH (Remote SHell) you can use this to issue commands to remote servers from NT/9x/2k...even Unix!

NT/2k/Unix has RSH client built in and there are numerous RSH clients for 9x.

Check the NT reskit for the RSHSVC - Remote SHell SerViCe. This is the server side functionality.

Beware though: RSHSVC does have some security concerns. You can learn more from the NT reskit docs.


cj

[This message has been edited by cj (edited 24 November 2000).]

Top
#5197 - 2000-11-24 08:48 AM Re: help login to remote servers
Anonymous
Unregistered


there is no parameter in the net use... command ( Win98 ) for the username & password. The remote server can be contacted but the user is not identified (...\IPC$).
As for the RSH i cannot use it to log to servers only to remove them.
The only solution so far is to duplicate the Win9x users on the remote systems for the log operation to succeed.
Thanks anyway for all the help.Any other suggestions?

Top
#5198 - 2000-11-24 11:37 PM Re: help login to remote servers
Anonymous
Unregistered


nkapotis,

Maybe I do not understand your problem but did you try the following:

You have user1 in domain1, make the same user in domain2 using usermanager. Just keep the loginname and the pasword the same on both domains.

E.g.: Domain1\\User1 pass:secret
Domain2\\User1 pass:secret

When a user logs into domain1 and tries to access a resource in domain2 the workstation is trying to authorize using the username and password used for domain2. If they match the user in domain2 access is granted.

Goodluck,
Wam.

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 823 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.063 seconds in which 0.026 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