How-To: Print Using Active Directory Credentials

printer_thumb

In a large-scale environment, you may have no choice but to authenticate your Macs to Active Directory. This process is generally pretty smooth and only a few things get in your way, but the big annoyance for me was having to give my credentials every time I wanted to print to our Windows print server.

The problem is that your credentials aren’t passed along properly and this causes an annoying pop-up window to appear.

The “Remember this password” check box does nothing to help, either. I use DeployStudio a lot around our campus and they have a free utility called ksmbprintd which alleviates this problem. Their utility passes your credentials along with the print job and you no longer get the error window above. Here’s how to easily change your printer to make this all work.

  1. Download and install ksmbprintd. When the install is finished, it will want you to log out and then back in to startup the utility.
  2. You can modify the printer URL through the terminal, but I like to use the CUPS web interface instead. To do this, goto http://localhost:631.
  3. Click on the Administration tab and then the Manage Printers button.
  4. Click the printer you want to edit. On the next screen, select Modify Printer from the drop down menu.
  5. Now this is where we modify the printer’s URL. Copy the original URL at the top of the page. Then click the button next to Windows Printer via SAMBA with kerberos support v1.0.

  6. Paste the original URL in the Connection: box and add a k to the front of it so it says ksmb.
  7. Continue through the other two windows quickly since nothing should need changing. Click the Modify Printer button to save the changes.

Now you should be able to print without having to enter your Active Directory credentials every time. This can be really useful if you are charging for prints. Trying to make people retype in their credentials when ever they print is not very acceptable in our environment. I thank DeployStudio for making such a nice little app that saves us a lot of headaches.

loading

Comments have been disabled for this post