Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
return W_ERROR_V(WERR_INVALID_PARAMETER);
}
- TALLOC_FREE(ctx->password);
- ctx->password = talloc_strdup(ctx, password);
- if (!ctx->password) {
- return W_ERROR_V(WERR_NOT_ENOUGH_MEMORY);
- }
-
ok = cli_credentials_set_password(ctx->creds, password, CRED_SPECIFIED);
if (!ok) {
return W_ERROR_V(WERR_INTERNAL_ERROR);
char *debuglevel;
char *error_string;
char *workgroup;
- char *password;
int use_kerberos;
int use_ccache;
int disable_policy_handle_cache;