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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Script Logon

Status
Not open for further replies.

alebox20

Programmer
Oct 19, 2004
72
BR
hi,

i gotta a problem with my script logon. When a user enter with password of network on cliente novell show the follow message at Script Display:

"the operation was attempted on an invalid drive"

this message show it only below of unit especific.

drive i: =name_server:folder\subfolder \ (THATS RIGHT)
drive k: =name_server:folder\subfolder\subfolder\subfolder\subfolder \
LOGIN-LGNWNT32.DLL-440:the operation was attempted on an invalid drive

What happens ?

the user can access the folder normaly, even with the error.

The permissions is OK !

Tks,

Fábio
 
How long is the pathname?

Iolair MacWalter
Director of IT
 
5 folders. Like:

drive k: =name_server:folder\subfolder\subfolder\subfolder\subfolder \

do you know if the pathname should be one especific size ?

tks
 
Does the pathname adhere to the 8.3 and not contain any long directory names or spaces? Is anything else mapped to that particular drive letter?

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
The problem happens with any computer at network, so .. no particular drive with same letter.

I would like knows if the problem occurs because the pathname is too long or not or anything else.

Thanks a lot !

Fábio
 
I had, at one time, a very long pathname that gave me the same message. However, once I loaded the long name space on the server, it went away. If you have long name space loaded, see if the path has any illegal characters in it, like ? or * or one of the other characters you can't use. One other thing - I once had a user (surprise, surprise) who had somehow added a space onto the end of a directory and wasn't able to get to it until I actually by accident put a space there and was able to access it.

Iolair MacWalter
Director of IT
 
Try it with UNC and see if it makes any difference.

However, A lot of those types of problems are related to a local drive that is interfering with the network map. You see these now days with the different Flash Drives/thumbdrives and memory slot drives that preallocate 5 or 6 letters from the start even though they aren't being used.

Another thing I notice is that you are putting SERVERNAME:

This is the wrong syntax. The : (Colon) goes after the volume name, not the server name. The correct syntax is:

SERVER\VOLUME:pATH

or

\\server\volume\path

or (I hate this one because you can't control the server you're attaching to. Terrible in multi server environments, which most people have)

VOLUME:pATH

Marvin Huffaker, MCNE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top