Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapped drive to as400

Status
Not open for further replies.

snootalope

IS-IT--Management
Jun 28, 2001
1,706
US
Hello

I have a terminal server user that needs a mapped drive to a share we have setup on our as400. The users credentials between Windows and the as400 do NOT match.

So, I go in and map this drive for her by selecting the drive letter, setting the path (\\x.x.x.x\user), select "reconnect at logon," and select "different user name" - put in the info and the drive maps just fine.

Now, when the user logs off at night and back on in the morning, the drive is is disconnected. I can still see the map is there, but when we attempt to open it we get a windows error box:

---------------
Windows

An error occurred while reconnecting K: to \\x.x.x.x\user

Microsoft windows network 221: The user name could not be found.

This connection has not been restored.
--------------

So, each morning I have to remap this drive. Very annoying. Currently, I've got a bat file that maps the drive for her each time, but it's a text file that has her username/pwd in there. It works, but it's not safe.

Anyone got any idea what this might be??

Thanks for any help!
-nooter
 
Can you map it via a startup script?

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.
 
that's what I'm doing doing at the moment, just so I don't have to manually do it every day for the user.

However, that script has to have the users username/password in order to connect so it's not really safe..
 
If you run the login script, it's kept on your secure server, so it's as safe as any other data on your server.

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.
 
I baught a product called ExeScript for just such special needs. I use vbscripts at logon and since i store them on the sysvol and everyone has access to that i had a need to protect user acounts and passwords used in the scripts. This product compiles bat or vbscript in to .exe making them unreadable to the casual viewer. Works great and isnt very expensive when you consider the value it provides.

RoadKi11

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top