Go to the source code of this file.
Macros | |
#define | SMB_LMAPI_SLOT "\\PIPE\\LANMAN" |
#define | SMB_LMAPI_SUPW_DESC "zb16b16WW" |
#define | SMB_LMAPI_SUI_DESC "zWsTPWW" |
#define | SMB_LMAPI_SUI_DATA_DESC "B16" |
Functions | |
int | SMBapi_NetUserPasswordSet (SMB_Tree_Handle tree, char *user, char *oldpass, char *newpass, int *apiStatus) |
int | SMBapi_NetSetUserInfo (SMB_Tree_Handle tree, char *user, char *newpass, int *apiStatus) |
int | SMBapi_NetShareEnum (SMB_Tree_Handle tree, char *enum_buf, int bufsiz, int *shares_returned, int *shares_total) |
Variables | |
SMB_Tree_Handle | SMBapi_Tree = NULL |
Macro Definition Documentation
◆ SMB_LMAPI_SLOT
#define SMB_LMAPI_SLOT "\\PIPE\\LANMAN" |
Definition at line 46 of file smblib-api.c.
◆ SMB_LMAPI_SUI_DATA_DESC
#define SMB_LMAPI_SUI_DATA_DESC "B16" |
Definition at line 205 of file smblib-api.c.
◆ SMB_LMAPI_SUI_DESC
#define SMB_LMAPI_SUI_DESC "zWsTPWW" |
Definition at line 204 of file smblib-api.c.
◆ SMB_LMAPI_SUPW_DESC
#define SMB_LMAPI_SUPW_DESC "zb16b16WW" |
Definition at line 47 of file smblib-api.c.
Function Documentation
◆ SMBapi_NetSetUserInfo()
int SMBapi_NetSetUserInfo | ( | SMB_Tree_Handle | tree, |
char * | user, | ||
char * | newpass, | ||
int * | apiStatus | ||
) |
Definition at line 209 of file smblib-api.c.
References CVAL, FALSE, IVAL, NULL, pid, RFCNB_Alloc_Pkt(), RFCNB_Free_Pkt(), RFCNB_Recv(), RFCNB_Send(), SIVAL, SMB_DEF_IDF, SMB_Hdr, SMB_hdr_com_offset, SMB_hdr_err_offset, SMB_hdr_idf_offset, SMB_hdr_mid_offset, SMB_hdr_pid_offset, SMB_hdr_rcls_offset, SMB_hdr_tid_offset, SMB_hdr_uid_offset, SMB_hdr_wct_offset, SMB_LMapi_SetUserInfo, SMB_LMAPI_SLOT, SMB_LMAPI_SUI_DATA_DESC, SMB_LMAPI_SUI_DESC, SMB_trans_dbc_offset, SMB_trans_dbo_offset, SMB_trans_flg_offset, SMB_trans_len, SMB_trans_mdc_offset, SMB_trans_mpc_offset, SMB_trans_msc_offset, SMB_trans_pbc_offset, SMB_trans_pbo_offset, SMB_trans_tdc_offset, SMB_trans_tmo_offset, SMB_trans_tpc_offset, SMB_transr_pbo_offset, SMBC_SUCCESS, SMBlib_errno, SMBlib_SMB_Error, SMBlibE_BAD, SMBlibE_NoSpace, SMBlibE_RecvFailed, SMBlibE_Remote, SMBlibE_SendFailed, SMBtrans, SSVAL, SVAL, and TRUE.
◆ SMBapi_NetShareEnum()
int SMBapi_NetShareEnum | ( | SMB_Tree_Handle | tree, |
char * | enum_buf, | ||
int | bufsiz, | ||
int * | shares_returned, | ||
int * | shares_total | ||
) |
Definition at line 385 of file smblib-api.c.
◆ SMBapi_NetUserPasswordSet()
int SMBapi_NetUserPasswordSet | ( | SMB_Tree_Handle | tree, |
char * | user, | ||
char * | oldpass, | ||
char * | newpass, | ||
int * | apiStatus | ||
) |
Definition at line 49 of file smblib-api.c.
References CVAL, FALSE, IVAL, NULL, pid, RFCNB_Alloc_Pkt(), RFCNB_Free_Pkt(), RFCNB_Recv(), RFCNB_Send(), SIVAL, SMB_DEF_IDF, SMB_Hdr, SMB_hdr_com_offset, SMB_hdr_err_offset, SMB_hdr_idf_offset, SMB_hdr_mid_offset, SMB_hdr_pid_offset, SMB_hdr_rcls_offset, SMB_hdr_tid_offset, SMB_hdr_uid_offset, SMB_hdr_wct_offset, SMB_LMAPI_SLOT, SMB_LMAPI_SUPW_DESC, SMB_LMapi_UserPasswordSet, SMB_trans_dbc_offset, SMB_trans_dbo_offset, SMB_trans_flg_offset, SMB_trans_len, SMB_trans_mdc_offset, SMB_trans_mpc_offset, SMB_trans_msc_offset, SMB_trans_pbc_offset, SMB_trans_pbo_offset, SMB_trans_tdc_offset, SMB_trans_tmo_offset, SMB_trans_tpc_offset, SMB_transr_pbo_offset, SMBC_SUCCESS, SMBlib_errno, SMBlib_SMB_Error, SMBlibE_BAD, SMBlibE_NoSpace, SMBlibE_RecvFailed, SMBlibE_Remote, SMBlibE_SendFailed, SMBtrans, SSVAL, SVAL, and TRUE.
Variable Documentation
◆ SMBapi_Tree
SMB_Tree_Handle SMBapi_Tree = NULL |
Definition at line 41 of file smblib-api.c.