Dirk.Laurenz@fujitsu-siemens.com
2005-Sep-13  09:30 UTC
[Samba] Locked prf files within Roaming Profiles
Hello everybody,
 
we have the following problem here:
We've set up a complete samba domain (based on 3.0.20 now) which 
is running very fine including ldap backend.
 
But we've still problems using roaming profiles (especially prf*tmp) files.
We already tested the veto oplock directive with /prf*.tmp/ and even /*.tmp/
but these files remain always locked. Only "root" can delete them.
 
Here's the smb.conf of the share, were profiles are stored:
 
[PROFILE01$]
        nt acl support = yes
        dos filetimes = yes
        dos filetime resolution = yes
        browseable = no
        writable = yes
        inherit permissions = yes
        hide unreadable = yes
        admin users = ...
        path = /samba/ages003/data/GES_AZ
        hide files = /lost+found/
#       hide dot files = yes
        comment = PROFILE SHARE
#       hide special files = yes
        inherit acls = yes
        root preexec = /usr/sbin/samba/create_profile_dirs.sh %u GES_AZ
        case sensitive = True
        default case = lower
        preserve case = no
        short preserve case = no
        veto oplock files = /*.tmp/*.bat/
 
We don't know why the prf*tmp remain locked. Even accessing the profile
share
directly and trying to delete them failes.
 
If you need more information tell me this.
 
Mit freundlichem Gru?, 
Dirk Laurenz 
Systems Engineer        
PSO - Professional Service Organisation 
Fujitsu Siemens Computers 
Hildesheimer Strasse 25 
30880 Laatzen 
Germany 
Telephone:      +49 (511) 84 89 - 18 08 
Telefax:        +49 (511) 84 89 - 25 18 08 
Mobile: +49 (170) 22 10 781 
Email:  mailto:dirk.laurenz@fujitsu-siemens.com 
Internet:       http://www.fujitsu-siemens.com 
           
http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
*******************************************************************************************************************
On Tue, Sep 13, 2005 at 11:29:37AM +0200, Dirk.Laurenz@fujitsu-siemens.com wrote:> Hello everybody, > > we have the following problem here: > We've set up a complete samba domain (based on 3.0.20 now) which > is running very fine including ldap backend. > > But we've still problems using roaming profiles (especially prf*tmp) files. > We already tested the veto oplock directive with /prf*.tmp/ and even /*.tmp/ > but these files remain always locked. Only "root" can delete them. > > Here's the smb.conf of the share, were profiles are stored: > > [PROFILE01$] > nt acl support = yes > dos filetimes = yes > dos filetime resolution = yes > browseable = no > writable = yes > inherit permissions = yes > hide unreadable = yes > admin users = ... > path = /samba/ages003/data/GES_AZ > hide files = /lost+found/ > # hide dot files = yes > comment = PROFILE SHARE > # hide special files = yes > inherit acls = yes > root preexec = /usr/sbin/samba/create_profile_dirs.sh %u GES_AZ > case sensitive = True > default case = lower > preserve case = no > short preserve case = no > veto oplock files = /*.tmp/*.bat/ > > We don't know why the prf*tmp remain locked. Even accessing the profile share > directly and trying to delete them failes. > > If you need more information tell me this.An smbstatus output would help to start... Jeremy.