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

Novell Client 4.9: Help mounting a drive

Status
Not open for further replies.

Badmoro

IS-IT--Management
Feb 15, 2006
2
US
Hello -

I need to mount a drive to Win XP machines running in a Novell network.
I have this script:

umount g:
mount -o anon server:/export/sbi/home/%nwusername% g:

This works fine when you are the admin or you are a normal user and run it manually.
The auto run only partially works. The server gets a mount request, but the request is for the same directory as what was mounted before (it uses the username that was last logged on, not the current one). It is as though the script is ignoring the %nwusername% variable.

If anybody has a clue, will be much appreciated! Thanks

-Bad
 
What OS is the server running? I assume from your script that it's some form of Unix, so you'll need to check to make sure the %nwusername% variable is defined or somehow related to the Unix user or username.

Secondly, how are you trying to "auto run" this script? From Windows? From the Unix server? From a Netware server?

Iolair MacWalter

Iolair MacWalter
Director of IT
 
You need to explain exactly what you're trying to do cause what you're saying doesn't make sense for how you'd normally work with the 4.9 client and connect a network drive on Windows XP.



Marvin Huffaker, MCNE
 
I admit the way I described the problm is not clear. I ll try to clarify it, so please bear with me:

What I m trying to do: connect XP machines (running 4.9 client) to a network drive (on a Linux server).

How I tried to do it: I wrote this script (.bat file) and I added a registry key for it so that it runs every time somebody logs on. Here is the script:
umount g:
mount -o anon server:/export/sbi/home/%nwusername% g:

The problem: When I login as administrator, this works fine, meaning that I see the g drive with my login under it.
Now, when a normal user (not admin) logs in, they see the network drive (g) under My Computer, but the login under it, is the login of the person who was logged on right before them.

The server gets the request, and replies by mounting the drive, but what I do not get is why it ignores the current value of %nwusername%. Instead, it uses the value that was in the previous request.

I hope this makes more sense! If anybody has a clue about this or has another way to do it, I d really appreciate it :) Thanks,

-badmoro
 
Are you using Fast User Switching? Or is each user completing a full log off / log on sequence? Is FUS enabled, even if not used?

Does it make any difference if you reboot between users?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top