Displaying 3 results from an estimated 3 matches for "smbc_read_ctx".
2015 May 27
2
libsmbclient question
Dear Gents,
We are using libsmbclient smbc_getFunctionRead to read from a Microsoft DFS
share. Before each 64k read there are a QUERY_PATH_INFO and a
GET_DFS_REFERRAL which slow down the transmission. Is there a way to query
these only once at the beginning of the transmission and cache it?
system:
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64
GNU/Linux
lib:
2009 Jun 12
1
cli_read() is stuck in select() with the following stack trace
...ae5c108 in sys_select () from /usr/lib/libsmbclient.so.0
#2 0x00002aaaaae64027 in event_loop_once () from /usr/lib/libsmbclient.so.0
#3 0x00002aaaaae8556b in cli_pull () from /usr/lib/libsmbclient.so.0
#4 0x00002aaaaae85626 in cli_read () from /usr/lib/libsmbclient.so.0
#5 0x00002aaaaae0866a in SMBC_read_ctx () from /usr/lib/libsmbclient.so.0
...
...
#8 0x00000033a861c4ca in __libc_start_main () from /lib64/tls/libc.so.6
#9 0x000000000040567a in _start ()
(gdb)
I'm using samba-3.2.6 libsmbclient library on a linux box to crawl files from a windows 2003 server.
Any help is greatly appreciated....
2015 May 28
1
libsmbclient question
...DFS
> > share. Before each 64k read there are a QUERY_PATH_INFO and a
> > GET_DFS_REFERRAL which slow down the transmission. Is there a way to
> query
> > these only once at the beginning of the transmission and cache it?
>
> Hmmm. This seems to be done inside :
>
> SMBC_read_ctx(SMBCCTX *context,
> SMBCFILE *file,
> void *buf,
> size_t count)
>
> where it's doing:
>
> status = cli_resolve_path(frame, "", context->internal->auth_info,
> file->sr...