Bug 121105 - print/cups - cupsd w/ PAM support dies
Summary: print/cups - cupsd w/ PAM support dies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 02:20 UTC by aryeh.friedman
Modified: 2008-03-04 14:47 UTC (History)
0 users

See Also:


Attachments
cups_pam.diff (436 bytes, patch)
2008-03-03 18:13 UTC, Alexander Chernikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description aryeh.friedman 2008-02-26 02:20:04 UTC
	cupsd dies on web based printer configuration if PAM support is present

Fix: 

Remove PAM support.
How-To-Repeat: 	Build cups-base with PAM support and attempt to add a printer via the web interface
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-02-26 11:37:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-ports-bugs

n/a
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-02-26 13:38:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer.
Comment 3 Alexander Chernikov 2008-03-03 18:13:16 UTC
There are 2 problems causing core:
Incorrect /usr/local/etc/pam.d/cups file (referencing inexistent 
pam_unknown.so) and
bug in pam(3) handling code in cups.

Removing /usr/local/etc/pam.d/cups seems to solve the problem
CUPS pr: http://cups.org/str.php?L2734
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-03-04 12:00:30 UTC
dinoex      2008-03-04 12:00:15 UTC

  FreeBSD ports repository

  Modified files:
    print/cups-base      Makefile 
  Added files:
    print/cups-base/files patch-auth.c 
  Log:
  - Fix crash in case of incorrectly configured PAM
  PR:             121105
  Submitted by:   Alexander V. Chernikov
  Obtained from:  http://cups.org/str.php?L2734
  
  - Fix /usr/local/etc/pam.d/cups
  
  Revision  Changes    Path
  1.90      +5 -0      ports/print/cups-base/Makefile
  1.3       +12 -0     ports/print/cups-base/files/patch-auth.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2008-03-04 14:47:13 UTC
State Changed
From-To: open->closed

committed, thanks.