Bug 1541 - recursive ls does not work
Summary: recursive ls does not work
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.4
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 00:47 UTC by Josef Zlomek
Modified: 2005-08-24 10:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Zlomek 2004-07-19 00:47:10 UTC
When I enter commands "recurse" and "ls" in smbclient 3.0.4, I receive listing
only of current directory and not of all subdirectories. The bug is probably on
all branches.

Josef

The following patch seems to fix it:

Index: client/client.c
===================================================================
--- client/client.c     (revision 1545)
+++ client/client.c     (working copy)
@@ -592,7 +592,7 @@
                else
                        pstrcat(mask,p);
        } else {
-               pstrcat(mask,"*");
+               pstrcat(mask,"\\*");
        }

        do_list(mask, attribute, display_finfo, recurse, True);
Comment 1 Tim Potter 2004-08-19 02:59:24 UTC
Checked in - thanks!
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:17:24 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.