What happened with smbc_chown in Samba 3.2? It has a prototype in libsmbclient.h but there is no function.
It looks like it as been accidentally removed during the refactoring?
samba/git/source(v3-2-test)> grepr smbc_chown *
include/libsmbclient.h:1606:int smbc_chown(const char *url, uid_t owner, gid_t group);
I don't believe that function has ever been implemented. I've removed the prototype.
You should be able to change the ownership of a file using smbc_setxattr().