Displaying 20 results from an estimated 37 matches for "get_lanman2_dir_entry".
2007 Jan 10
0
winxp client - directory listing fails
...printable = Yes
browseable = No
[public]
comment = Public Stuff
path = /usr/local/rdx/public
read only = No
guest only = Yes
guest ok = Yes
##########################
log listing
##########################
[2007/01/10 10:58:42, 5] smbd/trans2.c:get_lanman2_dir_entry(1197)
get_lanman2_dir_entry found tmp/scarter/new_kitchen_3d0004.JPG
fname=new_kitchen_3d0004.JPG
[2007/01/10 10:58:42, 10] smbd/trans2.c:get_lanman2_dir_entry(1340)
get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2007/01/10 10:58:42, 10] smbd/mangle_hash2.c:name_map(617)
name_map:...
2007 Oct 23
0
stat() - Interrupted system call
...reruns. What I found is that every
missing file in the
folder equates to a stat() call which was interrupted during the readdir
phase.
Here's the relevant excerpt from that trace with a bad and good dir entry
read:
...
dos_mode returning a[sparse]
[2007/10/23 08:48:29, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found archv6/arc14/0726/1RBE/1192/351-0-0-1.DS
fname=351-0-0-1.DS
[2007/10/23 08:48:29, 10] smbd/trans2.c:get_lanman2_dir_entry(1398)
get_lanman2_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2007/10/23 08:48:29, 10] smbd/mangle_hash2.c:name_map(617)
name_map:...
2005 Jun 14
4
Missing files on Windows client side.
...strange with this files en I can't see
any connection between the missing files.
It looks like it's randomly.
A few examples of missing files:
FAKTREF.10062005.16 (See debug information)
cum1406.csv
The only thing that I can see in the debug is the following line near each
missing file:
get_lanman2_dir_entry: out of space
Can anybody tell me what causes this or how i can fix this problem.
[2005/06/14 12:20:58, 8] smbd/dosmode.c:dos_mode(315)
dos_mode returning
[2005/06/14 12:20:58, 5] smbd/trans2.c:get_lanman2_dir_entry(959)
get_lanman2_dir_entry found ./FAKTREF.10062005.29
fname=FAKTREF.10062005...
2008 May 16
2
Existing files don't show up in share, new files do
I am suddenly no longer able to see any existing files on one of my
shares, from my Windows clients.
I have a Linux server (Fedora Core 8) which used to be my firewall and
router as well as file and print server. There are two Samba shares on
it I have mounted on various Windows clients: my home directory and a
multimedia directory with my music and videos, etc. I mount the former
as H: on all my
2005 Jun 28
1
Fw: Missing files on Windows client side
...name of about 40 chars */
+1449 if (space_remaining < DIRLEN_GUESS && numentries >
0) {
+1450 out_of_space = True;
+1451 finished = False;
+1452 } else {
+1453 finished = !get_lanman2_dir_entry(conn,
+1454 inbuf, outbuf,
+1455 mask,dirtype,info_level,
+1456
requires_resume_key,dont_descend,
+1457 &p,pdata,space_remaining,
&out_of_space, &got_exact_matc...
2004 Nov 23
0
problem setting up dfs
...1\part0 . I made sure
everything is in lower case.
When I browse the shares with a client I can see the dfsroot okay, but
the link to the secundairy server is mangled to 8 chars. It shows up as
MX2XKC~O.
This is a snip from the user log with log level 10:
[2004/11/23 11:22:57, 5] smbd/trans2.c:get_lanman2_dir_entry(968)
get_lanman2_dir_entry found ./msdfs:strsvr01\part0
fname=msdfs:strsvr01\part0
[2004/11/23 11:22:57, 10] smbd/mangle_hash2.c:name_map(607)
name_map: msdfs:strsvr01\part0 -> 773A4B48 -> MX2XKC~O (cache=1)
[2004/11/23 11:22:57, 10] smbd/trans2.c:get_lanman2_dir_entry(1052)
Apart from...
2005 Dec 24
0
Cannot exec program from network drive after 10 minutes (II)
...0)]
smbd/trans2.c:call_trans2findfirst(1740)
dptr_num is 256, wcard = *, attr = 22
[2005/12/22 09:46:07, 8, effective(0, 513), real(0, 0)]
smbd/trans2.c:call_trans2findfirst(1745)
dirpath=<./> dontdescend=<>
[2005/12/22 09:46:07, 8, effective(0, 513), real(0, 0)]
smbd/trans2.c:get_lanman2_dir_entry(1077)
get_lanman2_dir_entry:readdir on dirptr 0x802f8390 now at offset 0
[2005/12/22 09:46:07, 8, effective(0, 513), real(0, 0)]
smbd/dosmode.c:dos_mode(294)
dos_mode: ./.
[2005/12/22 09:46:07, 8, effective(0, 513), real(0, 0)]
smbd/dosmode.c:dos_mode_from_sbuf(162)
dos_mode_from_sbuf re...
2007 Nov 07
1
Incomplete dir listing (ext2fs / FreeBSD)
...t; down to
"file-0000.file" in a directory and fetched a directory listing from a
Windows client. I see files with number 0150 down to 0122.
With log level = 10 the following entries show up in the log files,
which I hope are the most relevant ones:
[2007/11/06 23:42:45, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found private
<pathtomyfiles>/tmp2/file-0022.file fname=file-0022.file
(this is the last file which I see in the directory listing)
[2007/11/06 23:42:45, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found <pathtomyfiles>/tmp2/file-...
2004 Apr 19
2
Directory listing with 11k files very slow to list
...] Received the request
[0 sec] Starts running on all files:
[2004/04/19 16:31:51, 8] lib/util.c:is_in_path(1496)
is_in_path: A0000009.job
[2004/04/19 16:31:51, 8] lib/util.c:is_in_path(1500)
is_in_path: no name list.
[2 sec] starts doing this on all files:
[2004/04/19 16:31:53, 5] smbd/trans2.c:get_lanman2_dir_entry(606)
get_lanman2_dir_entry found Detail/A000MOON.job fname=A000MOON.job
[2004/04/19 16:31:53, 8] smbd/trans2.c:get_lanman2_dir_entry(521)
get_lanman2_dir_entry:readdir on dirptr 0x87f3960 now at offset 8
[2004/04/19 16:31:53, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
ms_fnmatch(*,A000RAJA.pfl) -&g...
2008 Oct 13
0
Write/Modify issues
...ose = 1
[2008/10/13 13:35:28, 4] smbd/trans2.c:call_trans2findfirst(2074)
dptr_num is 256, wcard = New Text Document.txt, attr = 22
[2008/10/13 13:35:28, 8] smbd/trans2.c:call_trans2findfirst(2079)
dirpath=<art_dept/allRender> dontdescend=<>
[2008/10/13 13:35:28, 8] smbd/trans2.c:get_lanman2_dir_entry(1312)
get_lanman2_dir_entry:readdir on dirptr 0x861cd10 now at offset -1
[2008/10/13 13:35:28, 8] smbd/dosmode.c:dos_mode(354)
dos_mode: art_dept/allRender/New Text Document.txt
[2008/10/13 13:35:28, 8] smbd/dosmode.c:dos_mode_from_sbuf(170)
dos_mode_from_sbuf returning
[2008/10/13 13:35:28...
2007 Oct 23
1
exporting an FUSE base file system to windows
Hi,
What I wanted to do was to export an FUSE based filesystem mounted
on linux to a windows box using samba.
I can browse and navigate the fuse filesystem without problems
on the linux box. With smbd running I can even navigate the filesystem
using smbclient.
Unfortunately when I try to access the exported file system from WinNT
the mountpoint of the filesystem shows up as a zero size file
2010 Jan 22
4
write list for share is ignored
...smbd/dir.c:dptr_create(392)
dptr_create dir=./
[2010/01/21 14:27:18, 3] smbd/dir.c:dptr_create(515)
creating new dirptr 256 for path ./, expect_close = 1
[2010/01/21 14:27:18, 4] smbd/trans2.c:call_trans2findfirst(1837)
dptr_num is 256, wcard = *, attr = 22
[2010/01/21 14:27:18, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found ./. fname=.
[2010/01/21 14:27:18, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found ./.. fname=..
[2010/01/21 14:27:18, 5] smbd/trans2.c:get_lanman2_dir_entry(1255)
get_lanman2_dir_entry found ./1.3.7 fname=1.3.7
[2010/01/21 14:27:18, 5] s...
2006 Jan 31
0
Samba 3 and german umlaute in filenames/ can not delete or rename files or dirs
...stat: 'opening' file .//txtfile???.txt
[2006/01/31 20:03:42, 10] smbd/posix_acls.c:get_nt_acl(2732)
get_nt_acl: called for file .//txtfile???.txt
[2006/01/31 20:03:42, 5] lib/util_seaccess.c:se_access_check(308)
se_access_check: access (1) granted.
[2006/01/31 20:03:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1076)
get_lanman2_dir_entry:readdir on dirptr 0x8380b28 now at offset -1
[2006/01/31 20:03:42, 10] smbd/mangle_hash2.c:name_map(613)
name_map: txtfile???.txt -> 76C19102 -> TWY7ZE~Q.TXT (cache=0)
[2006/01/31 20:03:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1076)
get_lanman2_dir_entry:re...
2005 Nov 27
0
Problems running Samba on RHEL4U2
...irst(1442)
dptr_num is 256, wcard = *, attr = 22
[2005/11/25 13:13:28, 8, pid=18199, effective(31806, 2100), real(31806, 0)] smbd/trans2.c:call_trans2findfirst(1447)
dirpath=<./> dontdescend=<>
[2005/11/25 13:13:28, 8, pid=18199, effective(31806, 2100), real(31806, 0)] smbd/trans2.c:get_lanman2_dir_entry(883)
get_lanman2_dir_entry:readdir on dirptr 0x9df1db0 now at offset 1
[2005/11/25 13:13:28, 8, pid=18199, effective(31806, 2100), real(31806, 0)] smbd/dosmode.c:dos_mode(283)
dos_mode: ./.
[2005/11/25 13:13:28, 8, pid=18199, effective(31806, 2100), real(31806, 0)] smbd/dosmode.c:dos_mode_from_...
2008 Jul 28
0
smbcontrol xxxx reload-config doesn't work and other details samba 3.2
...ir.c:dptr_create(402)
dptr_create dir=./
[2008/07/28 12:17:35, 3] smbd/dir.c:dptr_create(520)
creating new dirptr 256 for path ./, expect_close = 1
[2008/07/28 12:17:35, 4] smbd/trans2.c:call_trans2findfirst(2069)
dptr_num is 256, wcard = *, attr = 22
[2008/07/28 12:17:35, 5] smbd/trans2.c:get_lanman2_dir_entry(1440)
get_lanman2_dir_entry: found ./. fname=.
[2008/07/28 12:17:35, 3] locking/locking.c:fetch_share_mode_unlocked(856)
fill_share_mode_lock failed
[2008/07/28 12:17:35, 5] smbd/trans2.c:get_lanman2_dir_entry(1440)
get_lanman2_dir_entry: found ./.. fname=..
[2008/07/28 12:17:35, 5] smbd/m...
2005 Oct 21
1
Could not get RealPath CORDAF/*
Hi,
I have a strange problem :
some users cannot acces to diretcory, the message is "access denied".
The ACL is correct
# file: rsrv/vol2/data1/groupes/CORDAF
# owner: root
# group: Utilisateurs
user::rwx
user:mro:r-x
user:sad:r-x
group::---
group:administrateurs:rwx
group:daf:rwx
mask::rwx
other::---
default:user::rwx
default:user:mro:r-x
default:user:sad:r-x
default:group::---
2004 Apr 19
1
Slow Directory listing for large number of files
...] Received the request
[0 sec] Starts running on all files:
[2004/04/19 16:31:51, 8] lib/util.c:is_in_path(1496)
is_in_path: A0000009.job
[2004/04/19 16:31:51, 8] lib/util.c:is_in_path(1500)
is_in_path: no name list.
[2 sec] starts doing this on all files:
[2004/04/19 16:31:53, 5] smbd/trans2.c:get_lanman2_dir_entry(606)
get_lanman2_dir_entry found Detail/A000MOON.job fname=A000MOON.job
[2004/04/19 16:31:53, 8] smbd/trans2.c:get_lanman2_dir_entry(521)
get_lanman2_dir_entry:readdir on dirptr 0x87f3960 now at offset 8
[2004/04/19 16:31:53, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
ms_fnmatch(*,A000RAJA.pfl) -&g...
2004 Apr 20
0
samba locking problem
...se = 1
[2004/03/02 15:04:38, 4] smbd/trans2.c:call_trans2findfirst(1023)
dptr_num is 256, wcard = *, attr = 22
[2004/03/02 15:04:38, 8] smbd/trans2.c:call_trans2findfirst(1028)
dirpath=<cfenton/Butzlaff/Wettbewerb Stifterverband> dontdescend=<>
[2004/03/02 15:04:38, 8] smbd/trans2.c:get_lanman2_dir_entry(520)
get_lanman2_dir_entry:readdir on dirptr 0x82f4c80 now at offset 1
[2004/03/02 15:04:38, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
ms_fnmatch(*,.) -> 0
[2004/03/02 15:04:38, 8] smbd/dosmode.c:dos_mode(122)
dos_mode: cfenton/Butzlaff/Wettbewerb Stifterverband/.
[2004/03/02 15:04:38, 8] lib/u...
2004 Jan 09
0
large file pre-allocation causing Windows error
...path VIDEO/2003-1, expect_close = 1
[2004/01/09 10:07:37, 4] smbd/trans2.c:call_trans2findfirst(1023)
dptr_num is 256, wcard = *, attr = 22
[2004/01/09 10:07:37, 8] smbd/trans2.c:call_trans2findfirst(1028)
dirpath=<VIDEO/2003-1> dontdescend=<>
[2004/01/09 10:07:37, 8] smbd/trans2.c:get_lanman2_dir_entry(521)
get_lanman2_dir_entry:readdir on dirptr 0x82c8440 now at offset 1
[2004/01/09 10:07:37, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
ms_fnmatch(*,.) -> 0
[2004/01/09 10:07:37, 8] smbd/dosmode.c:dos_mode(122)
dos_mode: VIDEO/2003-1/.
[2004/01/09 10:07:37, 8] lib/util.c:is_in_path(1473)
is_in...
2002 Jul 23
0
Directory with large number of files (follow-up)
Hello all,
This is a follow-up to my post a few weeks ago about poor performance when
serving files from a directory with a large number of files (in this case
over 600 000 files).
I traced this down to two places in the code:
1) The trans2 routine get_lanman2_dir_entry loops through the entire
directory looking for possible matches. I can see why this is the best idea
for the general case (better than doing all possible variations on the
name). However, in the large number of files case, it takes quite a long
time to loop through the directory (1/2 million files)...