Solved

Using Windows scripts in Macintosh (For accessing network shares)

Posted on 2004-09-23
4
293 Views
Last Modified: 2013-11-13
We use a piece of software called PAS that is used on our Windows print server to keep track of how many documents people print.  We set them up with an account in Active Directory to grant them access to the print server, and then set them up with an account on PAS.  On their workstations, we setup a batch file to run on startup, giving them access to the print server so they can print documents.  We also adjust the hosts file to point to the print server.

The script we load onto the PC's looks like this:

net use \\intrepid\ipc$ password /user:username

We have a new client in the building that has 2 macs .. one is running OS 9 and one is running OS 10.  I am pretty clueless as to how to set this up on the Mac.  If anyone could shed some light on how to set this up on a mac, and if there is a "hosts" type file on macs like on pcs, that would be appreciated.

Thanks.
0
Comment
Question by:choldsworth
  • 2
4 Comments
 
LVL 30

Expert Comment

by:weed
ID: 12134835
Not sure about the PAS and printing stuff but the hosts file is easy.
There are about 20 different ways to do it but here's are a few.

http://www.macosxhints.com/article.php?story=20020829055513313&query=edit+hosts+file
http://www.versiontracker.com/dyn/moreinfo/macosx/9732
0
 

Author Comment

by:choldsworth
ID: 12135304
Thanks weed, I'll check those out.

I guess the main thing I need to know on top of the hosts file is I need to have a network share mapped (with username/password) on the client machine so they can access the ipc share on the print server.  Normally, I just put a batch file in their startup folder with the above net use line in it, and everything is happy.  How do I setup their Mac to give them access to that share?
0
 
LVL 30

Expert Comment

by:weed
ID: 12138622
That's what I dont know. If it doesnt behave like a regular windows share I'm not sure what you'd do. Im not familiar with IPC or PAS.
0
 
LVL 17

Accepted Solution

by:
davebytes earned 500 total points
ID: 12143280
For OSX 10.2 or later try:
http://homepage.mac.com/william_white/print_to_windows.html
You should be able to set up to natively print to the IPC share.

For OS9 (well both), something like DAVE (http://www.thursby.com/products/dave.html) might work, though I'm not sure if it uses the IPC mechanism or not.

You could maybe build a version of the Samba stuff for OS9 that would provide the same features (basically) that OSX now has.

d
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

19 Experts available now in Live!

Get 1:1 Help Now