diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-09-24 15:01:57 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-09-24 15:01:57 -0400 |
commit | a6ab6f63de618180127daadc070d696f6268000f (patch) | |
tree | 21779f1b40aa3a2bf59ea2d97676ede7e5c67c07 /utils/gssd/gssd_proc.c | |
parent | 841e83c1caf028bf61ae37030aaa3453f2a2b136 (diff) | |
download | nfs-utils-a6ab6f63de618180127daadc070d696f6268000f.tar.gz nfs-utils-a6ab6f63de618180127daadc070d696f6268000f.tar.xz nfs-utils-a6ab6f63de618180127daadc070d696f6268000f.zip |
gssd: don't use tgtname to find our keytab
From: "J. Bruce Fields" <bfields@redhat.com>
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 <bfields@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd_proc.c')
-rw-r--r-- | utils/gssd/gssd_proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 |