Authentication Required While Printing on OSX 10.5.2
Since I upgraded from OSX 10.5.1 to 10.5.2 I haven’t been able to use my shared printer on on my Windows server. Every job I submit gives me an error saying On Hold (Authentication Required).
There’s no way that I could submit the printjob to the server from my Mac.
It seems that there is a bug in the authentication mechanism on OSX 10.5.2. If you add a (network) printer by using the System Preferences, you get to browse to find the actual printer. this results in a printer in the following location:
smb://<servernetbiosname>/printershare
For some weird reason this won’t work. You need to specify the IP adres of the server or include the windows workgroup name in the url. This can be done by using the System Preferences. But you can also use CUPS. This is the webinterface on OSX to access printing services. You can access CUPS by entering the following URL in your browser;
This give you a webinterface for managing printers. Just add (or edit) the printer. During the ‘Wizard’ you can specify the actual path/URL where CUPS can find the printer. Just one of the following:
smb://<username>:<password>@<IP Address>/<Printershare>
smb://<username>:<password>@<workgroup>/<servername>/<Printershare>
Don’t worry about the username and password being displayed in the URL. These will be ‘moved’ upon insertion to the Keychain.
Alternative is to add the Advanced button on the Add Printer Wizard on the Print & Fax panel in the System Preferences. This can be done by doing the following:
- Open System Preferences
- Open Print & Fax
- Click on the ‘+’ to add a printer.
- Right-click (or ctrl + left-click) on the menubar
- Customize Toolbar
- Add the ‘Advanced’ button
With the Advanced button you can specify the exact smb path mentioned earlier to add the printer by its IP address or with the workgroup information in its path.
Note: the menu under the Advanced button may be grayed-out. This may occur on larger networks. It seems that the button (well, the process behind it obviously) is doing some ‘exploring’ on your network (thanks spec for this).
More info on the Apple Support Discussion pages [1, 2].
Tags: 10.5.2, authentication, CUPS, OSX, problems, Windows printing





May 14th, 2008 at 11:04 pm
Thanks for posting a solution. I used the CUPS method you described above. What an irritating bug!
May 22nd, 2008 at 12:24 am
While Googling on this very problem, I happened upon your page. Neither method worked for me. From within the CUPS admin page, I’m running into a problem where in the final stage of configuration, I’m prompted by the browser for an l/p. I’ve tried both the system password and the printer share password to no avail.
Also, I added the advanced button to the add printer dialog in System Prefs, but I’m unable to enter or change any values. It’s as if the panel is dead. Any ideas?
May 22nd, 2008 at 1:02 am
Update:
Another blog post mentioned that the advanced tab does some probing of the network, and to expect a brief pause. The machine I was servicing is on a busy university network, and simply needed a bit more time to finish doing whatever it was doing. It seemed to cache the result as subsequent accesses to that tab were fairly quick.
Using the smb://:@// URL seemed to do the trick. Thanks for the tip!
May 22nd, 2008 at 5:20 am
awesome!, thanks for posting this solution, we are a bunch of MAC users that have a win2k3 server which has some printers attached to it - and this has worked a treat! - We’ve been unable to print for a week or more now ( we could only do it via our virtual window desktops)
May 22nd, 2008 at 10:33 am
@spec: I didn’t have that problem, since my network consists of only 3 devices.
Thanks for the tip. I’ll incorporate it in the post.
May 31st, 2008 at 11:55 am
Hello i translated the CUPS part of your article in french because it was very useful. i can send it to you per mail. thanks !
June 2nd, 2008 at 7:52 pm
@Bidouilleur: If you have it online I could make a link to it.
June 19th, 2008 at 3:17 pm
If you traverse the Windows printer directory in the Windows tab and navigate to the print server and printer you’ll be asked to authenticate and it’ll work just fine. If you use the Default browser tab, you’ll connect but will not authenticate. It’s also insecure to leave you password in a text string that can be read.
June 25th, 2008 at 8:59 am
@Jarrod:
You are correct, BUT the value is only visible when entering it. After that it’s obscured (at least on my Mac) using the preferences panel.
If you are using a browser, you may want to purge all private data (see documentation on doing that) in your browser (including the history). That way, the password won’t be traceable.