OS X Lion: How to enable Kerberos authentication for shared printers
Summary
Learn how to enable Kerberos authentication for shared printers for both Active Directory and Open Directory-based systems.
Products Affected
Mac OS Printing/Fax (any version), OS X Lion
Log in as an administrator to follow these steps. The first user account created in OS X Lion is an administrator account.
To configure for Active Directory
- Add the Active Directory server to the list of DNS server:
- Open System Preferences, choose Apple menu > System Preferences…
- Choose View > Network.
- If the padlock in the lower left is locked, click it and enter an administrator name and password to unlock.
- Enter "DNS" in the search field and press return.
- Click "+" under the "DNS servers:" pane, enter IP address of the Active Directory server.
- Click "+" under the "Search Domains:" pane, enter Active Directory domain name.
- Bind to Active Directory server through Users & Groups pane:
- Open System Preferences, choose Apple menu > System Preferences…
- Choose View > Users & Groups.
- If the icon in the lower left is locked, click it and enter an administrator name and password to unlock.
- Click "Login Options".
- Click "Join…" button next to "Network Account Server:".
- Enter the hostname of the Active Directory server, then click OK.
- Enter credentials for the Active Directory server.
- Execute the following Terminal command to enable the CUPS web interface:
- cupsctl WebInterface=yes
- cupsctl WebInterface=yes
- Open the URL "http://localhost:631/printers" in Safari.
- For each printer you wish to share using Kerberos:
- Click the printer name in the list.
- Choose "Set Default Options" from the "Administration" pop-up menu.
- Click "Policies".
- Choose "kerberos" from the "Operation Policy:" pop-up menu.
- Click "Set Default Options".
- Once you have completed this process, run this command in Terminal:
- cupsctl WebInterface=no
To configure for Open Directory
- Bind to Open Directory server through Users & Groups pane.
- Open System Preferences, choose Apple menu > System Preferences…
- Choose View > Users & Groups.
- If the padlock in the lower left is locked, click it and enter an administrator name and password to unlock.
- Click "Login Options".
- Click the "Join…" button next to "Network Account Server:".
- Enter the hostname of the Open Directory server, then click OK.
- Execute the following Terminal command to enable the CUPS web interface:
- cupsctl WebInterface=yes
- cupsctl WebInterface=yes
- Open "http://localhost:631/printers" in Safari.
- For each printer you wish to share using Kerberos:
- Click the printer name in the list.
- Choose "Set Default Options" from the "Administration" pop-up menu.
- Click "Policies".
- Choose "Kerberos" from the "Operation Policy:" pop-up menu.
- Click "Set Default Options".
- Once you have completed this process, run this command in Terminal:
- cupsctl WebInterface=no
Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Twitter
Facebook