The Samba-Bugzilla – Bug 5550
libsmbclient doesn't have a smbc_chown anymore
Last modified: 2008-06-18 10:01:56 UTC
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().