From a6ab6f63de618180127daadc070d696f6268000f Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Tue, 24 Sep 2013 15:01:57 -0400 Subject: gssd: don't use tgtname to find our keytab From: "J. Bruce Fields" The tgtname is of the form service@hostname. It's not a hostname, and attempting to look it up here just causes failure of any upcall with a "target=" field (currently, any upcall on behalf of an nfsv4.0 callback). I think the theory was that knowning that target= name might help pick the right keytab, but I don't really know if that's helpful. For now, just stop trying to do this. Signed-off-by: J. Bruce Fields Signed-off-by: Steve Dickson --- utils/gssd/gssd_proc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/gssd/gssd_proc.c') diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c index 0383883..7200a78 100644 --- a/utils/gssd/gssd_proc.c +++ b/utils/gssd/gssd_proc.c @@ -1035,8 +1035,7 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *tgtname, int success = 0; do { gssd_refresh_krb5_machine_credential(clp->servername, - NULL, service, - tgtname); + NULL, service); /* * Get a list of credential cache names and try each * of them until one works or we've tried them all -- cgit