4h8qdp6jx9@privaterelay.appleid.com has uploaded this change for review.

View Change

NFSv4.1: recognise macOS clients from EXCHANGE_ID

macOS sends apple.com as its implementation ID domain in EXCHANGE_ID.
Record it in the client ID and in the op context of each request on the
client's sessions. NFSv4.0 clients are never recognised: SETCLIENTID has
no implementation ID.

Change-Id: I972935b6db8ca08495edc54bf6e6c52d2a1d854a
Signed-off-by: Evan Champion <4h8qdp6jx9@privaterelay.appleid.com>
---
M src/Protocols/NFS/nfs4_op_exchange_id.c
M src/Protocols/NFS/nfs4_op_sequence.c
M src/include/fsal_api.h
M src/include/sal_data.h
4 files changed, 46 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/76/1255476/1

To view, visit change 1255476. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I972935b6db8ca08495edc54bf6e6c52d2a1d854a
Gerrit-Change-Number: 1255476
Gerrit-PatchSet: 1
Gerrit-Owner: 4h8qdp6jx9@privaterelay.appleid.com