Bug 6381 - help with locking problem
help with locking problem
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.25
x86 Windows XP
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-20 02:49 UTC by juk
Modified: 2009-06-30 07:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juk 2009-05-20 02:49:55 UTC
Greetings from Russia with love :)
 
Excuse my English, I translate the text using googletranslate. 
It seems I found the problem, which appeared in different versions of samba and the different operating systems. 
I tested it on linux and freebsd. 
In the following pattern: win2003(as a domain controller)+ samba(as a file server)+ winbind (authentication of users from Active Directory). 
Files that are accessible over the network to be shared (*.doc, *.xls, *.txt, etc.) are not blocked for the second user.

How it works: 
Exists shared folder "\\docs" on a file server samba (linux or freebsd). 
The user1(Bob Smith) from computer1 (WinXp) opens a file called "document.doc" and start to edit it. 
At this time user2(Jack Sparrow) from computer2 (WinXp) opens the same file. 
In file server win2003 user2 sees a message that the file is locked and is read-only. 
When working samba, the user2 does not sees in this message, it starts with an open file.

Result: 
User, which the latter closes the file, save it changes.
Again, this happens only when user authentication via winbind in Active Directory.
If you use security = ads and auth methods = winbind, then files are not blocked.
If you use security = user and local authentication, the files are locked and everything is working correctly.
Hopefully, that clearly explained :) 
Please answer me how to fix this error.
Do you have people who speak in Russian?

Thanks in advance.
juk81@yandex.ru
Comment 1 Volker Lendecke 2009-05-20 03:48:44 UTC
This really happens with Samba 3.4? As Samba 3.4 is not released yet, what exact version out of the git tree are you using?

Volker
Comment 2 juk 2009-05-20 05:12:44 UTC
happened to: 
ubuntu server 7.10 from the repository 
ubuntu server 8.10 from the repository 
freebsd 6.0 from source samba-3.0.24.tar.gz, samba-3.0.25.tar.gz, ?   
freebsd 7.0 from ports

I have not followed the versions, but they just have different.
Comment 3 juk 2009-05-21 03:12:44 UTC
no one can help?
Comment 4 Volker Lendecke 2009-06-17 05:57:16 UTC
Please upload debug level 10 logs of the succeeding smbd vs the failing one.

Volker