Support for Numeric Representations of UIDs and GIDs.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Teach clients to map numeric strings into valid uids and gids.utils/ | +38 | 6 replies | |
| 2/2 | Add server support to use of numeric strings for uid and gids.utils/ | +13 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Support for Numeric Representations of UIDs and GIDs.
In recent NFS v2/v3 to v4 transitions, one of the sticking points have been that fact v4 uses strings in the format of "user@domain" instead of 32bit integers for uids and gids.
When the string can not be mapped, its mapped to the 'nobody' user which is not optimal for things like backup servers and such where the ids will not be know by both sides.
So this patch series enables the server to send out numeric string of uids and gids that do not have the '@domain' part. The series also adds functionality to the client that parse these type of strings and will use the numeric representation of the ids iff the id exists on the client, which is sightly different that Solaris. Solaris dose not have that "id must exist" restriction.
Steve Dickson (2):
Teach clients to map numeric strings into valid uids and gids. Add server support to use of numeric strings for uid and gids.
utils/idmapd/idmapd.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 1 deletions(-)