I have a server which has a NFS4 server running and exports the home directories for all my users. This setup work great when the user have direct access via LAN or WLAN to the server. But if a laptop user wants to login at a remote place without access to the server the login will fail.
Is there some way to prepare the NFS home directory for offline usage? Sync the home directory with the server while the laptop has access to the server and use the latest copy of the home directory when the server is inaccessible?