Question : How to fix Win cannot locate the srv copy of roaming file, running Samba

Hi, I just set up a linux server with samba as PDC, and windows machines can see shares and log in to the domain, but when I log in, Windows gives me a error message telling me:
Windows cannot locate the server copy of your Roaming profile. Then another message telling me that it will use a temporary one.

this is my smb.conf:
# Global Parameters


workgroup = DOMAINTEST22
netbios name = Samba
encrypt passwords = yes
#security = user
os level = 65
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
logon path = \\%n\profiles\%u
logon drive = q:
logon home = \\office1\%u


[netlogon]
; comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
share modes = no

[homes]
read only = no
browseable = no
path = /var/windows/homes

[everyone]
path = /var/windows/share
browseable = yes
read only = no

Please let me know, what can I do,
Thanks,

Answer : How to fix Win cannot locate the srv copy of roaming file, running Samba

Firstly, are you sure about the substitution template for 'logon path'? Perhaps, that should be an %h or %L or %N (not %n), and possibly even a %U (not %u). Nonetheless, I would try it without any substitutions first, to make sure the directory exists where you expect, and permissions are correct, etc.

Secondly, you haven't defined a [profile] share. Here's an example, from the samba book ...
http://oreilly.com/catalog/samba/chapter/book/ch06_06.html#ch06-71393
Random Solutions  
 
programming4us programming4us