[Samba] smbd_audit: log_success() failed to get vfs_handle->data!

Dmitry Panoff panovdu at land.ru
Sun Dec 3 18:50:08 GMT 2006


*This message was transferred with a trial version of CommuniGate(r) Pro*
Greetings, aLL.

There's samba-3.0.23d, running on FreeBSD-5.3 as Win2000 AD domain member. For 
logging user activity on share VFS module full_audit is used (with help of 
syslog). Logging works well, but some errors appears in log, especially when 
changing ACLs on share file objects from win-clients:

===
Nov 30 15:07:56 calypso smbd_audit: [2006/11/30 15:07:56, 0] 
modules/vfs_full_audit.c:log_success(682)
Nov 30 15:07:56 calypso smbd_audit:   log_success() failed to get 
vfs_handle->data! 
===

Share example:
[pub]                                                                                      
        comment = Public share
        path = /mnt/hdd3                                                                      
        valid users = @SGNI\vse                                                              
        admin users = @SGNI\it                                                                
        read only = No                                                                        
        create mask = 0777                                                                    
        directory mask = 0777                                                                
        inherit acls = Yes                                                                    
        inherit owner = Yes                                                                  
        veto files = /quota.*/.snap/                                                          
        hide files = .snap                                                                    
        map archive = No                                                                      
        vfs objects = recycle full_audit                                                      
        recycle:repository = /mnt/hdd1a/hdd3                                                  
        recycle:keeptree = yes                                                                
        recycle:versions = yes                                                                
        recycle:exclude = *.tmp | *.TMP | ~$* | ~WRL*
        full_audit:failure = mkdir rmdir write unlink rename                                  
        full_audit:success = mkdir rmdir write unlink rename                                  
        full_audit:prefix = %m|%U                         

Why does this errors occur? What's wrong?

---
Dmitry Panoff
Network administrator
Donetsk, Ukraine


More information about the samba mailing list