LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-13-2013, 04:23 PM   #1
baranow
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Kerberos Killed CUPS Printing


In the CUPS print server I accidently enabled Kerberos authentication. I cannot now use the CUPS server as I get locked out by Kerberos. Is there some way out of this mess?

I'm using a new Debian weezy test install.
 
Old 01-14-2013, 02:06 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Yes there is an easy way, use the cupsctl binary...

http://www.cups.org/documentation.php/kerberos.html - Overview with an example, this shows you the command syntax setting it to "Negotiate" which enables Kerberos.

http://linux.die.net/man/5/cupsd.conf - Man page with all of the options for DefaultAuthType.


If you have more specific questions, i.e. what auth type to choose let us know.
 
Old 01-14-2013, 07:41 PM   #3
baranow
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Problem solved!

CUPS denied access because Kerberos would not authorize access.

Had to remove Kerberos then CUPS, then reinstall CUPS.

I never wanted Kerberos, but accidently checked the box for it in the CUPS Advanced settings. This locked me out completely.

The alternative would be to properly install and configure Kerberos to get CUPS to accept me, but I don't need Kerberos.

Another problem is that HP print drivers that worked before with Debian 6 won't work with Weezy.

Thanks for the help. What I thought was going to be a nightmare turns out to be quite easy once you RTM.

Last edited by baranow; 01-15-2013 at 07:36 AM.
 
Old 01-15-2013, 10:34 AM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
An another note, if you are using debian you can use dpkg-reconfigure to reconfigure the cups package without having to reinstall it if you want to get back to original default install settings.
 
Old 01-15-2013, 11:31 AM   #5
baranow
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, that was the solution that I was first looking for; how to reconfig without removing packages. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
[SOLVED] printing problems cups okular printing jobs debian squeeze epson stylus sx 410 Foxbat1155 Linux - Newbie 4 02-22-2012 02:49 PM
CUPS printing from AD-integrated workstation to AD-print-shares using Kerberos Auth Linuxchuck Debian 2 07-19-2010 10:28 PM
cups to cups printing through network on usb printer checkmate3001 Linux - Server 2 02-16-2009 12:12 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration