|
OpenVAS Scanner 23.23.1
|
API protos describing the interface of a smb interface implementation. More...
Go to the source code of this file.
Typedefs | |
| typedef long int | SMB_HANDLE |
Functions | |
| char * | smb_versioninfo (void) |
| Return version info for SMB implementation. | |
| int | smb_connect (const char *, const char *, const char *, const char *, SMB_HANDLE *) |
| Establish connection to a SMB service. | |
| int | smb_close (SMB_HANDLE) |
| Close the connection handle for SMB service. | |
| char * | smb_file_SDDL (SMB_HANDLE, const char *) |
| Obtain Windows file rights in SDDL format. | |
| char * | smb_file_OwnerSID (SMB_HANDLE, const char *) |
| Obtain the SID of the Owner for a given file/path. | |
| char * | smb_file_GroupSID (SMB_HANDLE, const char *) |
| Obtain the SID of the Group for a given file/path. | |
| char * | smb_file_TrusteeRights (SMB_HANDLE, const char *) |
| Obtain the Trustee SID and their rights for a given file/path. | |
API protos describing the interface of a smb interface implementation.
This file contains API protos describing the interface of a smb interface implementation.
| typedef long int SMB_HANDLE |
| int smb_close | ( | SMB_HANDLE | handle | ) |
Close the connection handle for SMB service.
| [in] | handle | - SMB connection handle |
| int smb_connect | ( | const char * | server, |
| const char * | share, | ||
| const char * | username, | ||
| const char * | password, | ||
| SMB_HANDLE * | con ) |
Establish connection to a SMB service.
| [in] | server | - The host system to connect to |
| [in] | share | - The file system share. |
| [in] | username | - The username for getting access to SMB service |
| [in] | password | - The password that corresponds to username |
| [out] | con | - A connection handle in case of success. |
| char * smb_file_GroupSID | ( | SMB_HANDLE | handle, |
| const char * | filename ) |
Obtain the SID of the Group for a given file/path.
| [in] | handle | - SMB connection handle |
| [in] | filename | - File system path |
| char * smb_file_OwnerSID | ( | SMB_HANDLE | handle, |
| const char * | filename ) |
Obtain the SID of the Owner for a given file/path.
| [in] | handle | - SMB connection handle |
| [in] | filename | - File system path |
| char * smb_file_SDDL | ( | SMB_HANDLE | handle, |
| const char * | filename ) |
Obtain Windows file rights in SDDL format.
| [in] | handle | - SMB connection handle |
| [in] | filename | - File system path |
| char * smb_file_TrusteeRights | ( | SMB_HANDLE | handle, |
| const char * | filename ) |
Obtain the Trustee SID and their rights for a given file/path.
| [in] | handle | - SMB connection handle |
| [in] | filename | - File system path |
| char * smb_versioninfo | ( | void | ) |
Return version info for SMB implementation.