Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 13:21:49 -0700
From:      Fredrick Leitz <fredrick.leitz@sjrb.ca>
To:        "'ports@FreeBSD.org'" <ports@FreeBSD.org>
Subject:   security/pam_smb Makefile patch
Message-ID:  <3AD1F04EDB516C4097168A9C08CFFEE6049F1BD0@shawmail03.shaw.ca>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

There is an option for the security/pam_smb package to allow non-root
processes to authenticate with SMB. This is particularly useful for use in
conjunction with apache. 

I have made two patches against the Makefile one enables by default
--disable-root-only and provides the option WITHOUT_DISABLE_ROOT to disable
the behaviour. 

The other keeps the current defaults and provides the option
WITH_DISABLE_ROOT to enable --disable-root-only.

Patching the Makefile with one of those two would make my day.

Cheers,
Fred

 <<pam_smb-non-default.diff>>  <<pam_smb.diff>> 

--Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)
Content-type: application/octet-stream; name=pam_smb-non-default.diff
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: attachment; filename=pam_smb-non-default.diff

--- Makefile=09Wed Mar 10 12:02:52 2004=0A+++ Makefile.new=09Wed Mar =
10 12:02:37 2004=0A@@ -22,6 +22,12 @@=0A USE_REINPLACE=3D=09yes=0A ST=
ARTUP_SCRIPT=3D=09pam_smbd.sh.sample=0A =0A+=0A+# Enable --disable-ro=
ot-only (--disable-root-only is for use in authentication with apache=
 and other non-root services)=0A+.if defined(WITH_DISABLE_ROOT)=0A+CO=
NFIGURE_ARGS +=3D --disable-root-only=0A+.endif=0A+=0A WRKSRC=3D=09=
=09${WRKDIR}/${DISTNAME}=0A =0A post-patch:=0A=

--Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)
Content-type: application/octet-stream; name=pam_smb.diff
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: attachment; filename=pam_smb.diff

--- Makefile=09Wed Mar 10 11:53:47 2004=0A+++ Makefile.new=09Wed Mar =
10 11:53:37 2004=0A@@ -22,6 +22,12 @@=0A USE_REINPLACE=3D=09yes=0A ST=
ARTUP_SCRIPT=3D=09pam_smbd.sh.sample=0A =0A+=0A+# Disable --disable-r=
oot-only (--disable-root-only is for use in authentication with apach=
e and other non-root services)=0A+.if !defined(WITHOUT_DISABLE_ROOT)=
=0A+CONFIGURE_ARGS +=3D --disable-root-only=0A+.endif=0A+=0A WRKSRC=
=3D=09=09${WRKDIR}/${DISTNAME}=0A =0A post-patch:=0A=

--Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD1F04EDB516C4097168A9C08CFFEE6049F1BD0>