[Samba] Windows 7/Vista problem with offline files synchronization - samba 3.5.4 domain controller
Jarosław Darnowski
darnowski at o2.pl
Tue Jun 7 09:11:39 MDT 2011
While using SAMBA 3.5.4 as a primary domain controller for Windows
Workstations I have problems with offline files synchronization.
While using Windows XP everything works great, there is still no
problems with machines with XP.
Problems started with Vista Business, there is a lot of synchronization
conflicts. Windows 7 also have problems with proper offline files
synchronization. Most synchro errors states "The process cannot access
the file because it is being used by another process" or some other
strange synchro conflicts.
Here is my output of smb.conf and smb-homes.conf files.
Anyone with working synchronization with Vista& Windows 7 please help,
it's very important to me to get it to work.
Please examine this configuration and try to discover witch specific
Win7/Vista options are missed or misconfigured.
-------smb.conf------------
[global]
# basic configuration
workgroup = WORK
netbios name = company
server string = file server
security = user
max smbd processes = 1000
max open files = 164040
# settings for Windows 98
lanman auth = yes
client lanman auth = yes
client plaintext auth = yes
# logs
log file = /var/log/samba/samba.%m
log level = 1
max log size = 1024
# primary WINS server
wins support = yes
# Primary Domain Controller
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
os level = 65
logon script = %U.bat
# Polish character encoding
unix charset = UTF8
display charset = UTF8
dos charset = CP852
# password backend
passdb backend = tdbsam
# printers
printing = bsd
printcap name = /dev/null
load printers = no
disable spoolss = yes
# optimalization
wide links = no
# managing users
add user script = /usr/sbin/useradd -d /dev/null -s /bin/false -g
pdc-users '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/useradd -g machines -c Komputer -d
/dev/null -s /bin/false '%u'
[netlogon]
path = /home/samba-netlogon
writeable = no
browseable = no
guest ok = no
[profiles]
path = /home/samba-profiles
writeable = yes
browseable = no
guest ok = no
[programs]
comment = "programs, updates, drivers..."
writeable = no
browseable = yes
guest ok = yes
write list = @pdc-admins
create mode = 666
directory mode = 777
path = /home/samba-software
[cut...]
-------smb-homes.conf------------
[user1-xp]
writeable = no
browseable = no
path = /home/samba-homes/user1-xp
valid users = @pdc-admins user1-xp
write list = @pdc-admins user1-xp
create mode = 660
directory mode = 770
[user2-win7]
writeable = no
browseable = no
path = /home/samba-homes/user2-win7
valid users = @pdc-admins user2-win7
write list = @pdc-admins user2-win7
create mode = 660
directory mode = 770
[user3-vista]
writeable = no
browseable = no
path = /home/samba-homes/user3-vista
valid users = @pdc-admins user3-vista
write list = @pdc-admins user3-vista
create mode = 660
directory mode = 770
[cut...]
---------------------------------------
More information about the samba
mailing list