Solved

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

Posted on 2009-06-30
6
828 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

734 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