mirror of
https://github.com/samba-team/samba.git
synced 2025-08-31 22:02:58 +03:00
This should be the correct fix for the lack of a prototype for
remote_password_change().
Sorry for the original bug.
Andrew Bartlett
(This used to be commit 955436a6f6
)
This commit is contained in:
@ -589,7 +589,7 @@ PROTO_OBJ = $(SMBD_OBJ_MAIN) \
|
|||||||
$(LIB_SMBD_OBJ) $(SAM_OBJ) $(REGISTRY_OBJ) $(POPT_LIB_OBJ) \
|
$(LIB_SMBD_OBJ) $(SAM_OBJ) $(REGISTRY_OBJ) $(POPT_LIB_OBJ) \
|
||||||
$(RPC_LSA_OBJ) $(RPC_NETLOG_OBJ) $(RPC_SAMR_OBJ) $(RPC_REG_OBJ) $(RPC_LSA_DS_OBJ) \
|
$(RPC_LSA_OBJ) $(RPC_NETLOG_OBJ) $(RPC_SAMR_OBJ) $(RPC_REG_OBJ) $(RPC_LSA_DS_OBJ) \
|
||||||
$(RPC_SVC_OBJ) $(RPC_WKS_OBJ) $(RPC_DFS_OBJ) $(RPC_SPOOLSS_OBJ) \
|
$(RPC_SVC_OBJ) $(RPC_WKS_OBJ) $(RPC_DFS_OBJ) $(RPC_SPOOLSS_OBJ) \
|
||||||
$(RPC_ECHO_OBJ) $(SMBLDAP_OBJ) $(IDMAP_OBJ) libsmb/spnego.o
|
$(RPC_ECHO_OBJ) $(SMBLDAP_OBJ) $(IDMAP_OBJ) libsmb/spnego.o libsmb/passchange.o
|
||||||
|
|
||||||
WINBIND_WINS_NSS_OBJ = nsswitch/wins.o $(PARAM_OBJ) $(UBIQX_OBJ) \
|
WINBIND_WINS_NSS_OBJ = nsswitch/wins.o $(PARAM_OBJ) $(UBIQX_OBJ) \
|
||||||
$(LIBSMB_OBJ) $(LIB_OBJ) $(NSSWINS_OBJ) $(KRBCLIENT_OBJ)
|
$(LIBSMB_OBJ) $(LIB_OBJ) $(NSSWINS_OBJ) $(KRBCLIENT_OBJ)
|
||||||
|
@ -37,12 +37,6 @@ static const char *remote_machine = NULL;
|
|||||||
|
|
||||||
static fstring ldap_secret;
|
static fstring ldap_secret;
|
||||||
|
|
||||||
/* FUNCTION DECLARATIONS */
|
|
||||||
|
|
||||||
BOOL remote_password_change(const char *rmachine, const char *username,
|
|
||||||
const char *old_pw, const char *new_pw,
|
|
||||||
char *err_str, size_t err_str_len);
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************
|
/*********************************************************
|
||||||
Print command usage on stderr and die.
|
Print command usage on stderr and die.
|
||||||
|
@ -51,12 +51,6 @@ static int iNumNonAutoPrintServices = 0;
|
|||||||
#define ENABLE_USER_FLAG "enable_user_flag"
|
#define ENABLE_USER_FLAG "enable_user_flag"
|
||||||
#define RHOST "remote_host"
|
#define RHOST "remote_host"
|
||||||
|
|
||||||
/* FUNCTION DECLARATIONS */
|
|
||||||
|
|
||||||
BOOL remote_password_change(const char *rmachine, const char *username,
|
|
||||||
const char *old_pw, const char *new_pw,
|
|
||||||
char *err_str, size_t err_str_len);
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Reference in New Issue
Block a user