6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8315] VFS_smb.php Directory Listing broken
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. .. . ..__. [__ |_/ |_/ || | [___| \| \\__||__\
Comment
> Horde 3.3.4 with Gollem H3 (1.1) on RHEL 5.3 (SAMBA 3.0.33-3.7.el5) - > we found out that > > > > VFS_smb.php (v 1.1.2.2) line 385 ff of function listFolder() > > > > // Split into columns at every six spaces > > $split1 = preg_split('/\s{6,}/', trim($res[$r])); > > // If the file name isn't . or .. > > > > turns out a broken directory listing if there is a long filename in > conjunction with more than one Attribute setted (i.e. DA) because > there are less than 6 expected spaces between the name of the item > and the attribute list. the attribute list is more the one entry in > this case. Only if we hafe 6 or more spaces in between here the regex > will match correctly. > > > > Example output of manualy listing of smbclient - see attached txt-file. > > > > turns out this strange broken directory listing > > "SystemHiddenReadonlyArchive DAHSR" 0 Wed May 27 14:17:21 2009 > > as to see in the attached screenshot > > https://webmail.tu-harburg.de/horde/imp/attachment.php?u=rztmh&t=1243596710&f=brokendirectorylistinggollem.bmp > > > > The regex should match the attribute column [DHARS] in an appropriate way. > > > > freundliche GrĂ¼sse > > Michael Herde > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers