search for: smb_vfs_opendir

Displaying 1 result from an estimated 1 matches for "smb_vfs_opendir".

2005 Oct 25
1
Large Directories Timeout smbfs & Windows
...h Linux and Windows clients timeout the shares. The timeouts occur when doing an "ls" on Linux with smbfs or opening the share's folder on Windows. Looking at debug logs shows that Samba is in the middle of doing a TRANSACT2_FINDFIRST (call_trans2findfirst in the code) where it calls SMB_VFS_OPENDIR, reads all of the entries through SMB_VFS_READDIR, and then closes the directory with SMB_VFS_CLOSEDIR before sending any reply at all to the client. When either Linux or Windows times out, both will start a new Samba connection to the share (a new child smbd pid) and start the whole process over...