From patchwork Wed Jun 29 18:37:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Coffman X-Patchwork-Id: 930072 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5TIjDv3008427 for ; Wed, 29 Jun 2011 18:46:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752088Ab1F2SqO (ORCPT ); Wed, 29 Jun 2011 14:46:14 -0400 Received: from citi.umich.edu ([141.212.112.111]:34046 "EHLO citi.umich.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361Ab1F2SqO (ORCPT ); Wed, 29 Jun 2011 14:46:14 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 29 Jun 2011 18:46:25 +0000 (UTC) X-Greylist: delayed 532 seconds by postgrey-1.27 at vger.kernel.org; Wed, 29 Jun 2011 14:46:14 EDT Received: from jazz.citi.umich.edu (unknown [IPv6:2607:f018:8002:0:21a:92ff:fe0f:46b0]) by citi.umich.edu (Postfix) with ESMTP id 3F64018065; Wed, 29 Jun 2011 14:37:21 -0400 (EDT) From: Kevin Coffman Subject: [PATCH] Add requirement for newer libgssglue for svcgssd -n option To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Date: Wed, 29 Jun 2011 14:37:21 -0400 Message-ID: <20110629183721.23198.57774.stgit@jazz.citi.umich.edu> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SNAFU. This came to my attention minutes after 1.2.4 was released... Changes in commit d6c1b35c require that gss_acquire_cred() is now called when the "-n" option is used. This requires an updated libgssglue which properly handles name GSS_C_NO_NAME as input to gss_import_name()/gss_acquire_cred(). Add a requirement for the newer version. Without the newer libgssglue, when svcgssd is started with "-n" you will see the error message, "ERROR: GSS-API: error in gss_acquire_cred(): GSS_S_BAD_NAME (An invalid name was supplied) - Unknown error" --- aclocal/rpcsec_vers.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/aclocal/rpcsec_vers.m4 b/aclocal/rpcsec_vers.m4 index 25902ca..8218372 100644 --- a/aclocal/rpcsec_vers.m4 +++ b/aclocal/rpcsec_vers.m4 @@ -1,7 +1,7 @@ dnl Checks librpcsec version AC_DEFUN([AC_RPCSEC_VERSION], [ - PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1]) + PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.3]) dnl TI-RPC replaces librpcsecgss if test "$enable_tirpc" = no; then