[Samba] PDC. Windows unable to save profile

Антон Дмитриевский admitrievsky at gmail.com
Sun Sep 23 19:02:33 GMT 2007


Hi there,
I have Samba 3.0.24. I'm trying to setup it as PDC. All works fine,
but there is one problem. Windows saves profile only once after
reboot. Changing username doesn't help. The only way to save profile
again is to reboot Windows.

Here is my smb.conf:
[global]
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
netbios name = server
workgroup = school
preferred master = auto
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\server\profiles\%U
logon drive = H:
logon home = \\server\%U
logon script = logon.cmd
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
[profiles]
comment = Network Profiles Share
path = /var/lib/samba/profiles
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
browseable = no
guest ok = no
printable = no
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/

uname -a:
Linux server.school.local 2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC
2007 i686 AMD Duron(tm) processor GNU/Linux

Please, help

Best regards,
Anton Dmitrievsky


More information about the samba mailing list