From nobody Thu Feb 22 02:00:43 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TgGZP1KGlz5BZJd for ; Thu, 22 Feb 2024 02:00:45 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [81.187.47.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4TgGZN3k9Qz4pWh for ; Thu, 22 Feb 2024 02:00:44 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=thyme header.b=sCIrqUB1; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.194 as permitted sender) smtp.mailfrom=lexi@le-fay.org; dmarc=none Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::6]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 99F55AE; Thu, 22 Feb 2024 02:00:41 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1708567242; bh=nFPomclzHmDkzKAe5n1gVGKSgq1j4vLAvqNTMmq8pyA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=sCIrqUB1OTqPdUf6G/0fTJWrBWB2yudRfQDvyLy5Czxc/Un4XeP/83LVsnFPulkkT tgB+pJ2kKRMC/GoZ1USuWEW8jwIMUJEan0F1bKKx3he5qrfrhVAIxIEHb8rnmW24Oj B1Bjg5NpvoU4TIDqv5WAdRYltVciUt1M+cEmhnaU= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 52E222C041F; Thu, 22 Feb 2024 02:00:43 +0000 (GMT) Date: Thu, 22 Feb 2024 02:00:43 +0000 From: Lexi Winter To: Michael Voorhis Cc: freebsd-questions@freebsd.org Subject: Re: openPAM and Kerberos in FreeBSD13 Message-ID: Mail-Followup-To: Michael Voorhis , freebsd-questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zpn5e79xyN6nAuTe" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4TgGZN3k9Qz4pWh X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=thyme]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.194:c]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[le-fay.org:+] --zpn5e79xyN6nAuTe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Voorhis: > I'm trying to get SSH and Kerberos working on my FreeBSD13 machine. I > can authenticate to the KDC using kinit, no problem, but no amount of > playing will allow me to login to a machine using SSHD and PAM. >=20 > Have played with /etc/pam.d/system and /etc/pam.d/sshd endlessly. you shouldn't need to edit anything in /etc/pam.d to make Kerberos authentication via SSH work. that *is* required to have a Kerberos ticket obtained for the user on login, but that's something you would usually have for console logins, not SSH logins. have you enabled GSSAPI authentication in sshd? in /etc/ssh/sshd_config: GSSAPIAuthentication yes --zpn5e79xyN6nAuTe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmXWqsgACgkQDHqbqZ41 x5nDpgv/bhk+XAd/XtZBSjJ/jnQdNq+DTU52MRLlQWn+Uv240pkka+JRbukTnbGP 7y1hpWUYHFZjvl2K9jgO8swz2kD9Ioa9hlNSPKIGM3wvGWxhYjddZCMTmNKf+W5q DdMagO5P2N0KnRbooI9nCIxXZ3NqwAbUWyook44Wfvdb/u29Yj/1xvgxrhmV/vxs y2xTXjIWw6fzCuv5BGhwnFrFhJnCUn2ept55avBBGpguA65MutpMPNbweaI2Q0pp McH/3Fa75IVCiV3oM0pDciIyfkIkEAVPcRufLKVNBPgNiRRa+1GnW9O/s8W86nxh CXrBJxnyU14s5zwMgeGt2ydB5UiwvHEx66G7317T8wJdg6HslPtTLHiFDpIzNd+5 oaM1tOPp+QuUiyZDdaalB+VYxv2q0KsgashfVG4SMiriLKA6gjehgQjwd3jgK5Xn 7RcsCTCPZ0mHpBnRX2WD1MrjBrj4MjVGyIoRm1i9/NNVniGsQ9gGyc/sXaZiFsjC gbP4VhI1 =ASUe -----END PGP SIGNATURE----- --zpn5e79xyN6nAuTe--