346465 |
21-Apr-2019 |
rmacklem |
MFC: r345995 Delete the BUGS entry related to failing when jails are enabled.
r345994 has finally fixed the bug that caused the nfsuserd(8) daemon to fail when jails were enabled, so delete the BUGS entry from the man page. |
346464 |
21-Apr-2019 |
rmacklem |
MFC: r345994 Fix nfsuserd so that it handles the mapped localhost address when jails are enabled.
The nfsuserd(8) daemon does not function correctly when jails are enabled, since localhost gets mapped to another IP address and, as such, the upcall RPC fails. This patch fixes the problem by doing a getsockname(2) of a socket mapped to localhost to find out what the correct address is for the comparison test with the upcall's from IP address. This patch also adds INET6 support and the required #ifdef's for INET and INET6. It now uses INET6 by default for the upcalls, if the kernel has INET6 support and the daemon is also built with INET6 support. |
338455 |
04-Sep-2018 |
markj |
MFC r338350: Add missing endpwent() and endgrent() calls to nfsuserd(8).
PR: 230937 |
321174 |
18-Jul-2017 |
rmacklem |
MFC: r320659 Add a Bugs section that indicates that the nfsuserd doesn't work when jails are being used on the system. It is hoped that the patches in PR#205193 will someday get tested/debugged so that they can be MFC'd to fix this.
This is a content change. |
317921 |
07-May-2017 |
rmacklem |
MFC: r317270 Get rid of bogus statement in the nfsuserd.8 man page.
The nfsuserd.8 man page stated that a usertimeout of 0 would disable the cache timeout. This was simply not true, so this patch deletes the sentence.
This is a content change. |
317919 |
07-May-2017 |
rmacklem |
MFC: r317350 Fix the default uid/gid values in nfsuserd.c
This patch sets the default uid/gid values for "nobody" and "nogroup" to the values in the password and group databases. Normally nfsuserd(8) will override these with whatever is in the password/group databases, so these values are only used when the databases entries aren't available. It would be nice to use the definitions in sys/conf.h, but those are in the _KERNEL section of the file. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
291535 |
30-Nov-2015 |
rmacklem |
Document the new "-manage-gids" option for the nfsuserd daemon. This is a content change.
Suggested by: jpaetzel Tested by: jpaetzel MFC after: 2 weeks
|
291534 |
30-Nov-2015 |
rmacklem |
Add support for the "-manage-gids" option to the nfsuserd daemon. When this option is set, the NFS server uses the list of groups acquired via getgrouplist(3) for the uid instead of the list of groups in the RPC request. This can be used to avoid the 16 gid limit for the group list in the RPC request.
Suggested by: jpaetzel Tested by: jpaetzel MFC after: 2 weeks
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
276258 |
26-Dec-2014 |
joel |
mdoc: sort SEE ALSO.
|
223382 |
21-Jun-2011 |
rmacklem |
Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the uid<->username mapping cache with an entry when another entry for that uid is already loaded. This fixes a case where the mapping of "toor" would replace "root" when the daemon was started, resulting in no mapping for "root" until the cache entry for "toor" timed out. The algorithm is inefficient, but since it is only done once when the daemon is started up, I don't think that's an issue.
MFC after: 2 weeks
|
210933 |
06-Aug-2010 |
joel |
Fix typos and spelling mistakes.
|
193070 |
29-May-2009 |
delphij |
Code cleanup for nfs4 utilities:
- Mark internal routines as static; - Eliminate unused parameters where possible, mark __unused for others; - Remove unused variables; - Use %jd for int64_t values in printf(); - Add appropriate %d for printf to match its parameter; - Rename a variable to resolve conflict with revoke(2);
Reviewed by: rmacklem Tested with: make universe (bugs are mine)
|
192811 |
26-May-2009 |
rmacklem |
Add two new utilities and two new daemons to /usr/src/usr.sbin that are specifically used by the experimental nfsv4 subsystem. nfscbd - The NFSv4 client callback daemon. nfsuserd - The NFSv4 daemon that maps between user and group name and their corresponding uid/gid numbers. nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state. nfsrevoke - Administratively revokes an NFSv4 client, releasing all NFSv4 Open/Lock state it holds on the server.
Approved by: kib (mentor)
|