Solved

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

Posted on 2009-06-30
6
820 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:geriatricgeek
Comment Utility
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
Comment Utility
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
Comment Utility
i'll give this a shot. thanks.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now