Solved

can i run vb script file from a novell log on file

Posted on 2009-06-30
6
826 Views
Last Modified: 2013-11-30
I have a vb script that resides on a windows server that will inventory my network workstaitons. the users authenticate thru novell using a novell log on script that everyone uses.
Can i incorporate the path to the vb script into the novell script so that the workstations will run the auditing script after authenticating so my network audits are current?
0
Comment
Question by:geriatricgeek
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:deroode
ID: 24752092
Do your users authenticate also to the windows server?

You will have to make a connection somehow to the windows server. That can be with the user himself if accountname and password are identical:

in the login script use the following:

#net use \\server\share
#cscript \\server\share\sript.vbs

Or if your users aren't known on the windows server you could login with a different user:

#net use \\server\share password /user:domain\audituser

where audituser is a generic user for launching the auditing script.
0
 
LVL 1

Author Comment

by:geriatricgeek
ID: 24763358
the users also autenticate to a windows server, but the novell server runs the script. do i insert the lines using my server names in the following?
#net use \\server\share
#cscript \\server\share\sript.vbs
0
 
LVL 19

Expert Comment

by:deroode
ID: 24763540
Yep, that should do the trick. Replace server with the name of your server (or DNS name), share for the name of your share.

# in a Novell login script means "execute an external command, wait for finish"
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:geriatricgeek
ID: 24763581
thanks for the info. the wait for finish doesn't mean it will wait for the audit to finish does it? just the command? it will continue to sign on and allow the user to begin working, correct?
0
 
LVL 19

Accepted Solution

by:
deroode earned 500 total points
ID: 24763694
That depends on the way the audit script works. If the script stays active during the audit the login script processor will wait for cscript.exe to finish. If the script spawns some kind of process and finishes then the Novell login script will finish as well.

If the login script keeps waiting for your script to finish you can also use

@cscript \\server\share\script.vbs

where @ means start an external program and continue.

You can read the login script documentation here:

http://www.novell.com/documentation/linux_client/login/?page=/documentation/linux_client/login/data/ak1lxuu.html
0
 
LVL 1

Author Closing Comment

by:geriatricgeek
ID: 31598474
i'll give this a shot. thanks.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question