From nobody Tue Dec 20 15:29:21 2022 X-Original-To: bugs@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 4Nc0qQ0Fl5z1HQGY for ; Tue, 20 Dec 2022 15:29:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nc0qP6DdZz3DTS for ; Tue, 20 Dec 2022 15:29:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671550161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hq0BZadbRSnrtABdvh4NlP4KZlrugLkO4xFLAkvhKTw=; b=pv0chmRwuoizVBdt/c1JURb4ogsX113T2UpR8jk9sXWqp8sf9rxnBdp5p2aL4ADfEkEKyA DJt9agRfCXYqoYlNMk4N5/7GetSr/uLpYG1uVO3mAT2AiCIkGvugLLdHY5sPCEwo4PIpT5 CX3F57vsEeIaJdgApe/4fvHGA1hHWYoitOKG63jt78P+ZydbSnUBlFhE87WPpg5FLvBlbS rn9cRVaDI6Wd1v3WBJZNURK03SBCK01hSM6EhQs2aOTlelXceP4qap4D+lEjvrtwfo4M1/ EKPdBSr14H64wDRa3yJRmgvMwhnU/JEYNoQ6t8RdOAMQnUAFjzimOO3TSW9pDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671550161; a=rsa-sha256; cv=none; b=gYBDbnO3/88WN9m2XXukABnHIKFgvLgtKJpgtR7XaX1in3Jt0CleR2oJcJeFWQo4a1iquA Uu6zbe38mGZGA/dpUPj4apwiQHJbp54zA24/pVZdd/8JK/LXQ8g6UKbUJOC0hPMWMHhASQ Gy89YkoLSwbPH67m8SRXfjS9pMy4mcZaXNeuRt1dwI7lTXE5lkuZLe9ps0tytLG/t/9PCp 0iDDTtKB3lmqCGXYImM7JNUR+DZZVx3EiAo0vKPLs3BHVruzZhhEYq7HA+e2m2wMcv1WxX 0Tace4ITh8HAZiIna1y1z46FJkbGqVoJz2Yo6KlleIQ1I2ZQJVushu9IHDexEQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nc0qP5DlfzgYs for ; Tue, 20 Dec 2022 15:29:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BKFTLwg070174 for ; Tue, 20 Dec 2022 15:29:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BKFTLDG070173 for bugs@FreeBSD.org; Tue, 20 Dec 2022 15:29:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 268186] Kerberos authentication fails with a Linux/FreeIPA KDC Date: Tue, 20 Dec 2022 15:29:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: amendlik@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268186 --- Comment #35 from amendlik@gmail.com --- (In reply to Cy Schubert from comment #34) We seem to be discussing at least 3 different authentication mechanisms that could all properly be called "Kerberos authentication": 1) OpenSSH with GSSAPIAuthentication: the client passes a service ticket to= the server. 2) OpenSSH with KerberosAuthentication: the server prompts the client for a password and those credentials are verified by the KDC. 3) OpenSSH with PAM and pam_krb5: according to the documentation (https://www.freebsd.org/cgi/man.cgi?query=3Dpam_krb5&sektion=3D8&n=3D1) th= is also prompts for a password: It prompts the user for a password and obtains a new Kerberos TGT for = the principal. The TGT is verified by obtaining a service ticket for the = lo- cal host. When prompting for the current password, the authentication module will use the prompt "Password for :". I am trying to achieve authentication using a service ticket, without promp= ting the user for a password. I just want to confirm that we are pursuing the sa= me solution here. Can this be done with PAM? On your other questions: I am testing using a FreeBSD client and server, wi= th the only Linux machine being the FreeIPA KDC. The FreeBSD client config loo= ks like this: ForwardX11Trusted yes GSSAPIAuthentication yes PubkeyAuthentication no VerifyHostKeyDNS yes KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-he= llman-group-exchange-sha1,diffie-hellman-group14-sha1 GSSAPIDelegateCredentials yes --=20 You are receiving this mail because: You are the assignee for the bug.=