[Samba] fill_share_mode_lock failed

Mario Fetka mario.fetka at gmail.com
Wed Mar 18 13:54:10 GMT 2009


Hallo,

the subject says everything

the error is comming every now and then.

the system is a ubuntu server intrepid
the samba server uses ldap
version is 3.2.3
mounted with:
/dev/sde1 on /home type ext3 (rw,relatime,acl)

the clients windows xp prof (SP3)

the log
2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] smbd/process.c:process_smb(1549)                                                                                                                                                 
  Transaction 3143 of length 272 (0 toread)                                                                                                                                                                
[2009/03/18 13:20:41,  3] smbd/process.c:switch_message(1361)                                                                                                                                              
  switch message SMBtrans2 (pid 6284) conn 0xb92772d8                                                                                                                                                      
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2qfilepathinfo(3932)                                                                                                                                     
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2qfilepathinfo(4006)                                                                                                                                     
  call_trans2qfilepathinfo 
xxxx/Anwendungsdaten/OpenOffice.org/3/user/config/soffice.cfg/modules/StartModule/statusbar 
(fnum = -1) level=1004 call=5 total_data=0                                      
[2009/03/18 13:20:41,  3] smbd/process.c:process_smb(1549)                                                                                                                                                 
  Transaction 3144 of length 282 (0 toread)                                                                                                                                                                
[2009/03/18 13:20:41,  3] smbd/process.c:switch_message(1361)                                                                                                                                              
  switch message SMBtrans2 (pid 6284) conn 0xb92772d8                                                                                                                                                      
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2findfirst(1918)                                                                                                                                         
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, 
close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384                                               
[2009/03/18 13:20:41,  3] smbd/dir.c:dptr_create(520)                                                                                                                                                      
  creating new dirptr 256 for path 
xxxx/Anwendungsdaten/OpenOffice.org/3/user/config/soffice.cfg/modules/StartModule/statusbar, 
expect_close = 1                                                       
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] smbd/process.c:process_smb(1549)                                                                                                                                                 
  Transaction 3145 of length 244 (0 toread)                                                                                                                                                                
[2009/03/18 13:20:41,  3] smbd/process.c:switch_message(1361)                                                                                                                                              
  switch message SMBtrans2 (pid 6284) conn 0xb92772d8                                                                                                                                                      
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2qfilepathinfo(3932)                                                                                                                                     
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2qfilepathinfo(4006)                                                                                                                                     
  call_trans2qfilepathinfo 
xxxx/Anwendungsdaten/OpenOffice.org/3/user/config/soffice.cfg/modules/swriter (fnum 
= -1) level=1004 call=5 total_data=0                                                    
[2009/03/18 13:20:41,  3] smbd/process.c:process_smb(1549)                                                                                                                                                 
  Transaction 3146 of length 254 (0 toread)                                                                                                                                                                
[2009/03/18 13:20:41,  3] smbd/process.c:switch_message(1361)                                                                                                                                              
  switch message SMBtrans2 (pid 6284) conn 0xb92772d8                                                                                                                                                      
[2009/03/18 13:20:41,  3] smbd/trans2.c:call_trans2findfirst(1918)                                                                                                                                         
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, 
close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384                                               
[2009/03/18 13:20:41,  3] smbd/dir.c:dptr_create(520)                                                                                                                                                      
  creating new dirptr 256 for path 
xxxx/Anwendungsdaten/OpenOffice.org/3/user/config/soffice.cfg/modules/swriter, 
expect_close = 1                                                                     
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                                                                                                              
[2009/03/18 13:20:41,  3] locking/locking.c:fetch_share_mode_unlocked(857)                                                                                                                                 
  fill_share_mode_lock failed                                                                                           

the config:
[global]                                                                                                                                                                                                   
        idmap uid = 20000-30000                                                                                                                                                                            
        delete user script = /usr/sbin/smbldap-userdel "%u"                                                                                                                                                
        passwd chat = "Changing password for*\nNew password*" %n\n "*Retype 
new password*" %n\n                                                                                                            
        add user script = /usr/sbin/smbldap-useradd -m "%u"                                                                                                                                                
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"                                                                                                                                 
        ldap group suffix = ou=Groups                                                                                                                                                                      
        inherit permissions = Yes                                                                                                                                                                          
        add machine script = /usr/lib/mmc/add_machine_script '%u'                                                                                                                                          
        domain logons = Yes                                                                                                                                                                                
        logon path = \\%N\profiles\%U                                                                                                                                                                      
        netbios name = SRV-ARGE                                                                                                                                                                            
        bind interfaces only = Yes                                                                                                                                                                         
        idmap backend = ldap:ldap://127.0.0.1/                                                                                                                                                             
        logon script = logon.bat                                                                                                                                                                           
        preferred master = Yes                                                                                                                                                                             
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"                                                                                                                                  
        printcap name = cups                                                                                                                                                                               
        idmap gid = 20000-30000                                                                                                                                                                            
        delete group script = /usr/sbin/smbldap-groupdel "%g"                                                                                                                                              
        ldap idmap suffix = ou=Users                                                                                                                                                                       
        passdb backend = ldapsam:ldap://127.0.0.1/                                                                                                                                                         
        passwd program = /usr/sbin/smbldap-passwd -u %u                                                                                                                                                    
        workgroup = ARGE                                                                                                                                                                                   
        interfaces = eth0, lo                                                                                                                                                                              
        ldap user suffix = ou=Users                                                                                                                                                                        
        map acl inherit = Yes                                                                                                                                                                              
        ldap admin dn = cn=adminus,dc=arge,dc=at                                                                                                                                                             
        name resolve order = bcast host                                                                                                                                                                    
        add group script = /usr/sbin/ambldap-groupadd -p "%g"                                                                                                                                              
        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" 
"%g"                                                                                                                            
        addprinter command = /usr/lib/mmc/add_printer_script                                                                                                                                               
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192                                                                                                                         
        add share command = /usr/lib/mmc/add_change_share_script                                                                                                                                           
        time server = Yes                                                                                                                                                                                  
        log level = 3                                                                                                                                                                                      
        server string = Mandriva Directory Server - SAMBA %v                                                                                                                                               
        logon drive = H:                                                                                                                                                                                   
        os level = 65                                                                                                                                                                                      
        ldap suffix = dc=arge,dc=at                                                                                                                                                                        
        force unknown acl user = Yes                                                                                                                                                                       
        null passwords = Yes                                                                                                                                                                               
        delete share command = /usr/lib/mmc/delete_share_script                                                                                                                                            
        deleteprinter command = /usr/lib/mmc/delete_printer_script                                                                                                                                         
        ldap machine suffix = ou=Computers                                                                                                                                                                 

[homes]
        comment = Repertoires utilisateurs
        browseable = No                   
        directory mask = 0700             
        hide files = /Maildir/            
        read only = No                    
        create mask = 0700                

[SYS]
        comment = System Freigabe
        writeable = yes          
        admin users = "+Domain Admins", 
        public = no                     
        path = /mnt/arge/SYS            

[profiles]
        browseable = No
        directory mask = 0700
        hide files = /desktop.ini/ntuser.ini/NTUSER.*/
        path = /home/samba/profiles                   
        read only = No                                
        create mask = 0700                            


thx for help in av
Mario


More information about the samba mailing list