[Samba] Re: Freebsd + Samba + Ldap + Acls -> No locking file

vwdragon vwdragon at poczta.fm
Thu Aug 16 03:41:13 GMT 2007


When I use option "force user = root" then:

user1 open file test3.ods

Samba version 3.0.25a
PID     Username      Group         Machine
-------------------------------------------------------------------
  2104   user2       Domain Users  0dragon0     (192.168.50.248)
  2103   user1        Domain Users  djmusic      (192.168.50.250)

Service      pid     machine       Connected at
-------------------------------------------------------
Baza Firm    2104   0dragon0      Thu Aug 16 05:29:26 2007
Baza Firm    2103   djmusic       Thu Aug 16 05:29:26 2007

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock 
    SharePath   Name   Time
--------------------------------------------------------------------------------------------------
2103         0          DENY_WRITE 0x2019f     RDWR      EXCLUSIVE+BATCH 
  /work/samba/bazafirm   test3.ods   Thu Aug 16 05:32:28


user2 open file test3.ods (file is open "read mode")

smbstatus:

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock 
    SharePath   Name   Time
--------------------------------------------------------------------------------------------------
2103         0          DENY_WRITE 0x2019f     RDWR       LEVEL_II 
    /work/samba/bazafirm   test3.ods   Thu Aug 16 05:32:28


Why? This is working only if I set option "force user = root"???



More information about the samba mailing list