Здравствуйте. Поднял на Ubuntu PDC(samba+ldap), завел машину на Windows server 2008 r2 нормально, но при попытке войти создается временный профиль вместо перемещаемого. Сетевой диск не подключается. Помогите разобраться. Настройки Samba
workgroup = LAB.LOCAL
realm = LAB.LOCAL
passdb backend = ldapsam:ldap://pdc.lab.local
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U
logon drive = P:
usershare allow guests = No
add machine script = sudo /usr/sbin/smbldap-useradd -W "%U"
domain logons = Yes
domain master = Yes
idmap backend = ldap:ldap://pdc.lab.local
ldap admin dn = cn=admin,dc=lab,dc=local
ldap group suffix = ou=group
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Machines
ldap passwd sync = Yes
ldap ssl = Off
ldap suffix = dc=lab,dc=local
ldap user suffix = ou=people
local master = Yes
netbios name = pdc
os level = 65
preferred master = Yes
security = user
usershare max shares = 100
wins server =
wins support = No
log file = /var/log/samba/log.%m
max log size = 1000
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
create mask = 0700
directory mask = 0700
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = root