[Samba] Problem with Roaming Profiles

Márcio de Oliveira marcio at propus.com.br
Tue Aug 26 18:24:11 GMT 2008


Hello all,

I'm using Samba 3.0.28-0.4.3 as PDC on a SUSE Linux Enterprise Server 10 
SP1 (x86_64), integrated with  a ldap base. I have setup roaming 
profiles and things were working fine till yesterday when an user "lost" 
his profile during logon. Here is a part of audit log:

Aug 25 08:33:28 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|IPC_|connect|ok|IPC$
Aug 25 08:33:31 localhost smbd_audit: 
30829|nobody|192.168.5.38|gustavom|IPC_|connect|ok|IPC$
Aug 25 08:33:31 localhost smbd_audit: 
30829|nobody|192.168.5.38|gustavom|IPC_|disconnect|ok|IPC$
Aug 25 08:33:31 localhost smbd_audit: 
30829|nobody|192.168.5.38|gustavom|IPC_|connect|ok|IPC$
Aug 25 08:33:31 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|connect|ok|profiles
Aug 25 08:33:32 localhost smbd_audit: 
30829|nobody|192.168.5.38|gustavom|IPC_|disconnect|ok|IPC$
Aug 25 08:33:32 localhost smbd_audit: 
30829|nobody|192.168.5.38|gustavom|IPC_|connect|ok|IPC$
Aug 25 08:33:32 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|connect|ok|profiles
Aug 25 08:33:32 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|unlink|ok|gustavo/Contacts/Desktop.ini 

Aug 25 08:33:32 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|unlink|ok|gustavo/Contacts/gustavo2078 at yahoo.com.br/A18AA9C
9-F9E1-4C5D-B5C1-A7D230201647.WindowsLiveContact
Aug 25 08:33:32 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|unlink|ok|gustavo/Contacts/gustavo2078 at yahoo.com.br/70CE567
3-4D66-435A-81FA-52B24520B7B7.WindowsLiveContact
Aug 25 08:33:32 localhost smbd_audit: 
30829|gustavo|192.168.5.38|gustavom|profiles|unlink|ok|gustavo/Contacts/gustavo2078 at yahoo.com.br/BD86C4B
F-6D9B-475E-8C12-D1EAF5B0ACDF.WindowsLiveContact
.
.
.
.

And then the whole profile was unlinked, and a new one was created on 
the server O.o

My profile share in smb.conf:

[profiles]
        path = /home/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No
        guest ok = Yes
        profile acls = no
        csc policy = disable
        nt acl support = yes
        store dos attributes = Yes
        hide files = desktop.ini/outlook*.lnk/*Briefcase*/.*
        force user = %U
        valid users = %U "@Domain Admins"
        write list = %U "@Domain Admins"

The setting "Delete cached copies of roaming profiles" of the gpedit.msc 
on Windows XP is enabled.

Any comments and suggestions are appreciated.

Thank you

Márcio de Oliveira



More information about the samba mailing list