48smb_connect (
const char *server,
const char *share,
const char *username,
API protos describing the interface of a smb interface implementation.
int smb_connect(const char *server, const char *share, const char *username, const char *password, SMB_HANDLE *con)
Establish connection to a SMB service.
char * smb_file_TrusteeRights(SMB_HANDLE handle, const char *filename)
Obtain the Trustee SID and their rights for a given file/path.
char * smb_file_OwnerSID(SMB_HANDLE handle, const char *filename)
Obtain the SID of the Owner for a given file/path.
char * smb_file_GroupSID(SMB_HANDLE handle, const char *filename)
Obtain the SID of the Group for a given file/path.
int smb_close(SMB_HANDLE handle)
Close the connection handle for SMB service.
char * smb_versioninfo()
Return version info for SMB implementation.
char * smb_file_SDDL(SMB_HANDLE handle, const char *filename)
Obtain Windows file rights in SDDL format.