u should have something like this in your smb.conf.
logon path = \\%N\profiles\%u
also u need to make the path of the profile using mkdir on the linux box.
mkdir -p /var/lib/samba/profiles/username this path depends on where u designate the profiles to be stored on your linux box. remember to changed the owner of the profile to the user of the profile.