[Samba] libsmbclient question

Szilard Matyas szilard.matyas at gmail.com
Wed May 27 15:16:08 MDT 2015

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?

3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64

libsmbclient:amd64             2:4.1.17+dfsg-2             amd64
 shared library for communication with SMB/CIFS servers
libsmbclient-dev:amd64         2:4.1.17+dfsg-2             amd64
 development files for libsmbclient
smbclient                      2:4.1.17+dfsg-2             amd64
 command-line SMB/CIFS clients for Unix

Thank you all your help in advance.

Kind regards,

More information about the samba mailing list