Summary: | nfs:// ioslave returns authentication error | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | Eric Bischoff <e.bischoff> |
Component: | NFS | Assignee: | Alexander Neundorf <neundorf> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | greeneg, jjm, kde |
Priority: | NOR | ||
Version: | 18.04.3 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Eric Bischoff
2004-02-21 08:43:17 UTC
The problem comes from kio_nfs.cpp line 432. The function clnt_stat returns error code 13 instead of expected 0 when trying to stat the remote directory /home. /usr/include/rpc/clnt.h says "RPC_UNKNOWNHOST=13, /* unknown host name */" but I don't know if that applies to clnt_stat function as well. If that's the correct meaning of that code, then it's rather strange to get a "unknown host" for localhost. (The code tracing test are done on the server directly, hence "localhost"). Not related : switching to kernel 2.6.3 on the server does not fix the problem. Hmmm, in fact it's the local host name ("vm.maison.net") that gets passed to authunix_create a few lines above, and not "localhost" as my previous remark suggested. Anyway. The call to authunix_create seems to succeed and so does the first call to clnt_call (the one with MOUNTPROC_EXPORT). It's only the second call of clnt_call (with MOUNTPROC_MNT) that fails. Really strange. It does the same with a 2.4.23 kernel on the server. So it's not a problem linked to the new series of linux kernels. I'm starting to wonder whether nfs:// ioslave really works at other people's places. If yes, what's different with my configuration that makes it fail? Runned into the same error. Add the option "insecure" to your /etc/exports like: /pub clienthost(rw,sync,insecure) kio_nfs tries to connect with port numbers above 1024 (seems > 32000). This config run's for me. Hope that helps. *** Bug 86611 has been marked as a duplicate of this bug. *** *** Bug 154796 has been marked as a duplicate of this bug. *** Added note regarding the need for 'insecure' export to the README file and also mention it in debug output if the problem happens. This is all that can be done with a non-root program (which all kioslaves are). |