libsmbclient smbc_lseek works wrong?
randoman at xfo.org.ru
Wed Jan 12 13:18:36 GMT 2005
As far as I understand, the call of smbc_lseek() should set the
current position of file and return the resulting position in the
file. I trying to use following code:
and cur_pos sets to zero.
The file I tried to open exists, and has length 43 bytes, the
following smbc_read lists the content of this file, but smbc_lseek
doesn't set the position to read.
What I do wrong? :-/
I use samba-3.0.10 (debian 3.0.10-1)
More information about the samba-technical