It normally contains settings that the administrator wishes to ensure the user always executes. Create the read-write directory on the Samba server. Set the logon path option in the smb.conf file to point to this directory. Rename the resulting user.dat to user.man . Make the directory and its contents read only.
Mandatory profiles are fairly unusual.
Roaming profiles, on the other hand, are one of the more desirable features of Windows that Samba can support. 6.6.3 Logon Script Options Table 6.10 summarizes the options commonly used in association with Windows domain logon scripts. This option provides a location for roaming profiles. When the user logs on, a roaming profile will be downloaded from the server to the client and activated for the user who is logging on. When the user logs off, those contents will be uploaded back on the server until the next time the user connects.