VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 4 5 6 Previous Next 89 Replies Last post: Apr 20, 2009 11:53 PM by SPED75   Go to original post
Click to view Technogeezer's profile Expert 250 posts since
Dec 7, 2007
Sorry Woody, should have been to the OP...
Click to view stevesp64's profile Lurker 5 posts since
Feb 19, 2009
Woody,

It says that my software is up to date. I got this idea from the apple
support forums, http://discussions.apple.com/thread.jspa?messageID=9018258

It worked for me, I don't know why it doesnt work for others.

Steve

,

A new message was posted in the thread "Workaround for Printers Sharing
not working after Mac OS X Security Update 2009-001":

http://communities.vmware.com/message/1179941#1179941

Author : WoodyZ
Profile : http://communities.vmware.com/people/WoodyZ
Message:

Click to view heronaddict's profile Lurker 2 posts since
Feb 23, 2009
thanks woody.

much appreciated.

I'll get some professional boffin to come in and sort it out for me given that it's my sole income source!!
Click to view jonsamson's profile Novice 12 posts since
Sep 19, 2008
Jupiterfish - what was the workaround you found that worked for the adobe pdf as I am unable to get mine working. Thanks
Click to view mudaltsov's profile Expert 304 posts since
Nov 12, 2007
A warning about using the 10.5.6 Combo Update - it actually reverts the CUPS daemon (and other system files) to the versions that are older than the ones installed by Security Update 2009-001. And afterwards, the Security Update is no longer visible in Software Update because the system thinks it's already installed, so you may have difficulty installing it in the future.

Edit: You can download and manually reinstall the Security Update (and other updates that may have been overwritten) from http://support.apple.com/downloads/
Click to view WoodyZ's profile Guru 10,142 posts since
Apr 22, 2004
This is why I was asking Steve what he saw if he went to Apple menu > Software Updates and when he it said "is up to date" I was concerned about that and hadn't had time to investigate. What I'm wondering is if there is a way to just extract and replace cupsd from the Mac OS X 10.5.6 Combo Update as a work-a-round to this issue? Anyone have any though on this or is it deeper then just cupsd?
Click to view mudaltsov's profile Expert 304 posts since
Nov 12, 2007
I just tried replacing the updated cupsd with the version from 10.5.6, and ThinPrint works again, so the change that breaks ThinPrint is indeed localized to the cupsd binary. So replacing a single file is definitely a better workaround than applying the entire Combo Update, but it still has the possibility of re-opening any security issues that Apple has fixed in cupsd with Security Update 2009-001.

I'm looking into extracting cupsd from the update package...
Click to view WoodyZ's profile Guru 10,142 posts since
Apr 22, 2004
mudaltsov wrote: but it still has the possibility of re-opening any security issues that Apple has fixed in cupsd with Security Update 2009-001.

That certainly is understandable however if just replacing the cupsd binary can act as a temporary work-a-round while having the other aspects of the latest security updates in place that IMO would be better then not having the update at all and I'm just look at this as another solution of users to choose from based on the merits of each and then at least they can make an informed decision and go from there.

Without a doubt the safest thing to do is be fully updated in all respects and then just turn off ThinPrint and reinstall the printers just as if this feature never existed and that is my recommendation. However it's nice to have other options if/when necessary. I know the users that need to VPN would like to be fully updated and have this feature working and if just replacing the cupsd binary can be a temporary fix this issue I think some of the VPN users would like that. Just a thought. :)


I'm looking into extracting cupsd from the update package...

Thanks for looking into this even if it's not the best or safest temporary solution to this overall issue.
Click to view mudaltsov's profile Expert 304 posts since
Nov 12, 2007
I agree that replacing just cupsd is better than not installing the Security Update at all, or reverting using the Combo Update. I just wanted to make sure people realize the potential security risk.

Here are the commands (for Terminal) to get the older version of cupsd and backup the original to /usr/sbin/cupsd_backup:

1. If you have not installed Security Update 2009-001 yet and printing works correctly - make a backup of cupsd and restore it after updating:
sudo cp /usr/sbin/cupsd /usr/sbin/cupsd_original

# (Install Security Update 2009-001 and restart)

sudo cp /usr/sbin/cupsd /usr/sbin/cupsd_backup
sudo mv /usr/sbin/cupsd_original /usr/sbin/cupsd

2. If you have already installed Security Update 2009-001, and have Mac OS X 10.5.6 Update (not Combo) (372 MB):
# (First double-click on MacOSXUpd10.5.6.dmg to open the disk image)

pkgutil --expand /Volumes/Mac\ OS\ X\ 10.5.6\ Update/MacOSXUpd10.5.6.pkg /tmp/package/
cd /tmp/package/MacOSXUpd10.5.6.pkg
cpio -izd -I Payload ./usr/sbin/cupsd
sudo cp /usr/sbin/cupsd /usr/sbin/cupsd_backup
sudo cp /tmp/package/MacOSXUpd10.5.6.pkg/usr/sbin/cupsd /usr/sbin/cupsd
sudo chown root:wheel /usr/sbin/cupsd
rm -r /tmp/package/

3. If you have already installed Security Update 2009-001, and have Mac OS X 10.5.6 Combo Update (668 MB):
# (First double-click on MacOSXUpdCombo10.5.6.dmg to open the disk image)

pkgutil --expand /Volumes/Mac\ OS\ X\ Update\ Combined/MacOSXUpdCombo10.5.6.pkg /tmp/package/
cd /tmp/package/MacOSXUpdCombo10.5.6.pkg
cpio -izd -I Payload ./usr/sbin/cupsd
sudo cp /usr/sbin/cupsd /usr/sbin/cupsd_backup
sudo cp /tmp/package/MacOSXUpdCombo10.5.6.pkg/usr/sbin/cupsd /usr/sbin/cupsd
sudo chown root:wheel /usr/sbin/cupsd
rm -r /tmp/package/

For reference, here is the file size and MD5 sum of /usr/sbin/cupsd on my system:
With Security Update 2009-001: 762224 bytes, MD5 = b381c745a8f0576614deaa7af3fd71cf
After reverting to the 10.5.6 version: 758112 bytes, MD5 = f0d734907eb2be74a6e9beb33e1cb925
Click to view DMcc's profile Lurker 1 posts since
Feb 24, 2009
I was able to use the workaround to get my network printer to work. Using the "bridged" network setting and then resetting the network IP address (just to be sure I restarted my windows and VMware too). THE ONE DETAIL LEFT OUT WAS THAT THE WINDOWS PRINTER DRIVERS NEED TO BE LOADED TO GET THE PRINTER TO WORK IN WINDOWS. HAVING TO ADD THESE DRIVERS COST ME 500MB OF DISK SPACE.

I am EXTREMELY SISSED OFF AND WILL OPENLY DISCOURAGE ANYONE INTERESTED IN BUYING THIS SOFTWARE !! The lack of software support and especially the INTERNET TEC SUPPORT REEEEEEELY SUCKS !!!!

Telephone customer support employees are uninformed and TOTALLY USELESS.

I am a business owned that was inconvenienced, with out any tec support, for a day and a half. Unable to get support for a obvious software problem is TOTALLY UNACCEPTABLE FOR ANY REASON.

I try to avoid any software that use internet tec support, because it's like being left out in the cold and this is a PERFECT EXAMPLE OF REALLY BAD SOFTWARE SUPPORT.
Click to view stevesp64's profile Lurker 5 posts since
Feb 19, 2009
Woody,

Obviously, I would not want to advise people to make their computer
insecure, in my particular incident printing is quite important, so I am
taking a chance. Please let me know if there is an easier workaround.

Steve
Click to view WoodyZ's profile Guru 10,142 posts since
Apr 22, 2004
Michael, thanks for taking the time to do this as I'm sure some users would prefer to do this even though this has some risk it has less risk then not having the Mac OS X Security Update 2009-001 installed at all and gives the users another option to choose from.
Click to view WoodyZ's profile Guru 10,142 posts since
Apr 22, 2004
Steve no one was accusing you of anything. :)

I only followed up with your original post because of what I though might be an issue after replying the Mac OS X 10.5.6 Combo Update and had not had any time to do any testing on this issue beyond telling users that setting up the printers as before this feature existed was a viable workaround which I believe to be the safest way around after one has applied Mac OS X Security Update 2009-001. However one solution doesn't necessarily fit all users needs and mudaltsov has now provided a way of just replacing the cupsd binary and while there remains a risk with this I believe it's less then not having the Mac OS X Security Update 2009-001 at all or possible issues of replying Mac OS X 10.5.6 Combo Update after having applied the Mac OS X Security Update 2009-001.

Anyway I know some users that use VPN's and replacing just the cupsd binary gives them to ability to apply the Mac OS X Security Update 2009-001 and then still use ThinPrint with Network Printers while connected to the VPN which they couldn't do connected directly while connected to the VPN and were forgoing applying the security update in total.

It's not a perfect work-a-round however it's only temporary and it's better then applying the entire Mac OS X 10.5.6 Combo Update after having applied the Mac OS X Security Update 2009-001.

Users are just going to have to remember to replace the cupsd binary once VMware comes up with a fix if Apple doesn't do anything although I think they may address this as well but we'll just have to wait and see who has to do what but until then there are now several different opting to choose from depending on ones needs. :)
Click to view fuzzy-wan's profile Enthusiast 72 posts since
Jun 22, 2007
I do hope this cupsd workaround does the trick, as I just discovered that a client's new printer doesn't have Windows 2000 drivers ("Curse you, evil Hoolitt Packurd!!!"). I'm hoping that "driverless printing" means I can get around this small impediment. Gah.

I'll find out tonight, one way or another...
Click to view homagetogorto's profile Novice 19 posts since
May 7, 2008
I can confirm another instance where simply replacing /usr/sbin/cupsd works. Instead of downloading the (huge) Combo update and extracting cupsd from it, I got the previous version from time machine. I don't know how to get at /usr/sbin from Time Machine's space interface, but it was easy enough to find in Terminal. (Look for the 758,112 byte version, probably dated December 8th.)

$ cd /Volumes/My Time Machine Drive/Backups.backupdb/My Computer/
$ ls -l */*/usr/sbin/cupsd

Then back up the original /usr/sbin/cupsd and copy in the one you found in Time Machine.

One additional tip. VMWare may have automatically disabled printer sharing in your settings if it failed enough times. It did for me. So after replacing cupsd, check your VM configuration and re-enable printer sharing if necessary.

And since cupsd is a daemon, best to restart your Mac after replacing it to make sure the new (old) version is running. (Or restart cupsd any way you know how - probably launchctl.)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities