Bug 126185 - security/pam_af should assume OpenPAM
Summary: security/pam_af should assume OpenPAM
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: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 09:50 UTC by TsurutaniNaoki
Modified: 2008-08-02 17:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (599 bytes, patch)
2008-08-02 09:50 UTC, TsurutaniNaoki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2008-08-02 09:50:02 UTC
	ftp/wu-ftpd+ipv6 with security/pam_af does not works well
	after upgrading from 6-STABLE to 7-STABLE.
	security/pam_af uses syslog after openlog() by default,
	and this spoils the wu-ftpd's syslog().

Fix: add "-D_OPENPAM" to the CFLAGS of security/pam_af.
	here is a patch, which should be stored as security/pam_af/files/patch-Makefile:
How-To-Repeat: 	after upgrading all the userlands, kernel, and all the ports.
	install ftp/wu-ftpd+ipv6 with "WITH_PAM=1".
	add a line to /etc/pam.d/ftp about pam_af.so.
	then, clients are refused to connect to teh server (sudden loss of the
	connection).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-08-02 09:50:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-08-02 17:42:40 UTC
stas        2008-08-02 16:42:32 UTC

  FreeBSD ports repository

  Modified files:
    security/pam_af      Makefile 
  Added files:
    security/pam_af/files patch-common_pam_af.h 
                          patch-common_subr.c patch-pam_af.c 
  Log:
  - Correctly detect OpenPAM.
  
  PR:             ports/126185
  Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
  
  Revision  Changes    Path
  1.5       +1 -0      ports/security/pam_af/Makefile
  1.1       +11 -0     ports/security/pam_af/files/patch-common_pam_af.h (new)
  1.3       +11 -0     ports/security/pam_af/files/patch-common_subr.c (new)
  1.1       +11 -0     ports/security/pam_af/files/patch-pam_af.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 3 Stanislav Sedov freebsd_committer freebsd_triage 2008-08-02 17:42:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!