When full_audit is used can't read/write any files in share. Navigating through folders on share are fine. The client WinXP when trying to read any file from share give a message "disk read error", but in the full_audit log written that access is successfull: smbd_audit: user11|dmn-vmxp2|sendfile|ok|bdc/123.txt When try to create and write a file, give message "Enough memory to process this command". In file writing of unreadable symbols. In full_audit log: smbd_audit: user11|dmn-vmxp2|ftruncate|ok|bdc/12345.txt smbd_audit: user11|dmn-vmxp2|ftruncate|ok|bdc/12345.txt smbd_audit: user11|dmn-vmxp2|unlink|ok|bdc/TMP3.tmp smbd_audit: user11|dmn-vmxp2|pwrite|ok|bdc/12345.txt If comment full_audit strings in smb.conf, all OK. vfs objects = full_audit full_audit:prefix = %u|%m full_audit:failure = none full_audit:success = mkdir rmdir write pwrite rename ftruncate unlink read pread sendfile full_audit:facility = local5 full_audit:priority = notice System: Debian GNU/Linux 5.0 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686 GNU/Linux ii samba 2:3.4.7~dfsg-1~bpo50+1 ii samba-common 2:3.4.7~dfsg-1~bpo50+1 ii samba-common-bin 2:3.4.7~dfsg-1~bpo50+1 ii samba-doc 2:3.4.7~dfsg-1~bpo50+1 ii smbclient 2:3.4.7~dfsg-1~bpo50+1 ii smbfs 2:3.4.7~dfsg-1~bpo50+1 ii smbldap-tools 0.9.4-1 ii libcrypt-smbhash-perl 0.12-2 ii mmc-web-samba 2.3.2-1 ii python-mmc-samba 2.3.2-1
Created attachment 5592 [details] smb.conf
Created attachment 5593 [details] log.smbd
Created attachment 5594 [details] Patch The attached patch fixes it for me. Please test! Volker
Created attachment 5595 [details] Changed proposed patch. I think this is a little more complete. Jeremy.
Comment on attachment 5595 [details] Changed proposed patch. If you add a commit message, it would probably right. Volker
Created attachment 5596 [details] git-am version of the same 3.4.x patch.
Comment on attachment 5596 [details] git-am version of the same 3.4.x patch. Thanks :-)
Karolin, this patch is required for 3.4.x, but we should wait for feedback by the reporter before closing the bug. Volker
(In reply to comment #6) > Created an attachment (id=5596) [details] > git-am version of the same 3.4.x patch. I tried the patch, everything worked perfectly. Thanks! Very quickly :)
Pushed patch to v3-4-test. Closing out bug report. Thanks!
*** Bug 7035 has been marked as a duplicate of this bug. ***
*** Bug 7221 has been marked as a duplicate of this bug. ***
*** Bug 6941 has been marked as a duplicate of this bug. ***
*** Bug 7353 has been marked as a duplicate of this bug. ***