Current restriction:
  * truncate() and ftruncate() are not supported for libsmbclient < 3.2

Opened questions:
  * is it required to recode username/domain/password from local to samba encoding ?

