Skip site navigation (1)Skip section navigation (2)
Date:      19 Oct 2002 23:21:52 +0200
From:      Marc Recht <marc@informatik.uni-bremen.de>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: New 5.0 ports uploaded
Message-ID:  <1035062514.54145.8.camel@leeloo.intern.geht.de>
In-Reply-To: <20021019203631.GA82812@leviathan.inethouston.net>
References:  <20021019012219.GA86396@xor.obsecurity.org> <1035053397.870.5.camel@leeloo.intern.geht.de>  <20021019203631.GA82812@leviathan.inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ukkQHPYveuXqieRZSk7i
Content-Type: multipart/mixed; boundary="=-TNFsCVZ+o3PvZhf6eSKj"


--=-TNFsCVZ+o3PvZhf6eSKj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sa, 2002-10-19 at 22:36, David W. Chapman Jr. wrote:
> > Hmm, I've more broken ports on my system.. Like a trouble with net/samb=
a-devel=20
> > (because of PAM headers) and I can't compile lang/librep since KSE III.
>=20
> Are you still having problems with this.  If you could show me some=20
> errors I may be able to relay them to the samba developers for you=20
> unless this is something wrong with freebsd.
Yes, I need the attached patch to compile nsswitch/pam_winbind.c.
I'm compiling net/samba-devel with following parameters:

WITH_CUPS=3Dyes WITH_QUOTAS=3Dyes WITH_UTMP=3Dyes WITH_MSDFS=3Dyes
WITH_WINBIND=3Dyes WITH_ACL_SUPPORT=3Dyes WITH_WINBIND_AUTH_CHALLENGE=3Dyes

Marc

--=20
"Premature optimization is the root of all evil." -- Donald E. Knuth

--=-TNFsCVZ+o3PvZhf6eSKj
Content-Disposition: attachment; filename=patch-pam_winbind
Content-Type: text/plain; name=patch-pam_winbind; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

--- nsswitch/pam_winbind.c.orig	Thu Sep 26 23:17:53 2002
+++ nsswitch/pam_winbind.c	Thu Sep 26 23:19:30 2002
@@ -286,10 +286,10 @@
 			item =3D NULL;
 			return PAM_SUCCESS;
 		} else if (on(WINBIND_USE_FIRST_PASS_ARG, ctrl)) {
-			return PAM_AUTHTOK_RECOVER_ERR;		/* didn't work */
+			return PAM_AUTHTOK_RECOVERY_ERR;		/* didn't work */
 		} else if (on(WINBIND_USE_AUTHTOK_ARG, ctrl)
 			   && off(WINBIND__OLD_PASSWORD, ctrl)) {
-			return PAM_AUTHTOK_RECOVER_ERR;
+			return PAM_AUTHTOK_RECOVERY_ERR;
 		}
 	}
 	/*
@@ -342,7 +342,7 @@
 						if (!resp[i - 1].resp
 						    || strcmp(token, resp[i - 1].resp)) {
 							_pam_delete(token);	/* mistyped */
-							retval =3D PAM_AUTHTOK_RECOVER_ERR;
+							retval =3D PAM_AUTHTOK_RECOVERY_ERR;
 							_make_remark(pamh								    ,PAM_ERROR_MSG, MISTYPED_PASS);
 						}
 					}
@@ -361,7 +361,7 @@
=20
 		} else {
 			retval =3D (retval =3D=3D PAM_SUCCESS)
-			    ? PAM_AUTHTOK_RECOVER_ERR : retval;
+			    ? PAM_AUTHTOK_RECOVERY_ERR : retval;
 		}
 	}
=20

--=-TNFsCVZ+o3PvZhf6eSKj--

--=-ukkQHPYveuXqieRZSk7i
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQA9sczw7YQCetAaG3MRAqcbAKCN1fwmSyUEjCaofd+8+XCHjKbdjgCgi+PA
O1OD/i6am/+VeRfUdCwnL84=
=Qk1E
-----END PGP SIGNATURE-----

--=-ukkQHPYveuXqieRZSk7i--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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