Using Windows scripts in Macintosh (For accessing network shares)

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.
choldsworthAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
davebytesConnect With a Mentor Commented:
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
 
weedCommented:
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
 
choldsworthAuthor Commented:
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
 
weedCommented:
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
All Courses

From novice to tech pro — start learning today.