Bug 1202 - smbclient recursion and one more bug (posible buff overflow?)
Summary: smbclient recursion and one more bug (posible buff overflow?)
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
Depends on:
Reported: 2004-03-21 18:59 UTC by Pavel S
Modified: 2005-02-07 08:37 UTC (History)
0 users

See Also:

this is the dump file, about which I told. (220.84 KB, application/octet-stream)
2004-03-25 01:41 UTC, Pavel S
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel S 2004-03-21 18:59:54 UTC
After simple building: ./configure --prefix=/usr/local/samba

I try to use smbclient as I was used it in 2.2.8a samba:

smbclient //my/comp -c 'recurse;ls'

so, recurse mode doesn't work for now (in 2.2.8a it works but with another kind
of bug:

When I uses smbclient (2.2.8a) for smb resourse crawling the local network with
charsets and resourse-names with configs:
   client code page = 1251
   character set = 1251
recurse listing of directories doesn`t contains dirs in cp1251 coding (they was
all empty)
but when I set
   character set = KOI8-R
   client code page = 866
the dirs in cp1251 coding contains subdirs and files

And one more strange bug:

when I get listing with smbclient //my/share -c 'recurse;ls'>/tmp/dump

and share resourse contains dirs with sub-dir with looooooooooong-names
/tmp/dump contains somethins like this:


and so on.
Comment 1 Pavel S 2004-03-25 01:41:25 UTC
Created attachment 456 [details]
this is the dump file, about which I told.

I use net crawling with smbclient:
smbclient \\mypc\music 'recurse; ls'
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:37:09 UTC
2.2.x reached EOL.  Feel free to reopen if the bug still exists in 3.0.11.