[ 
https://issues.apache.org/jira/browse/VCL-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111906#comment-16111906
 ] 

ASF subversion and git services commented on VCL-1068:
------------------------------------------------------

Commit 1803935 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1803935 ]

VCL-1068
Added Windows.pm::_escape_password.

Updated subroutines in Windows.pm to use result of _escape_password in command:
* set_password
set_scheduled_task_credentials
create_startup_scheduled_task
set_service_credentials

> Windows fails to update scheduled task password if password contains some 
> special characters
> --------------------------------------------------------------------------------------------
>
>                 Key: VCL-1068
>                 URL: https://issues.apache.org/jira/browse/VCL-1068
>             Project: VCL
>          Issue Type: Bug
>          Components: vcld (backend)
>    Affects Versions: 2.4.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.5
>
>
> {noformat}
> Windows.pm:set_scheduled_task_credentials|3509| ---- WARNING ----
> Windows.pm:set_scheduled_task_credentials|3509| 2017-08-02 
> 12:30:04Windows.pm:set_scheduled_task_credentials|3509|failed to change 
> password for scheduled task: \VCL Post Load, command:
> Windows.pm:set_scheduled_task_credentials|3509| 
> C:/Windows/Sysnative/schtasks.exe /Change /RU "root" /RP "n}4_X$5d" /TN "\VCL 
> Post Load"
> Windows.pm:set_scheduled_task_credentials|3509| output:
> Windows.pm:set_scheduled_task_credentials|3509| ERROR: The user name or 
> password is incorrect.
> Windows.pm:set_scheduled_task_credentials|3509| ( 0) Windows.pm, 
> set_scheduled_task_credentials (line: 3509)
> Windows.pm:set_scheduled_task_credentials|3509| (-1) Windows.pm, set_password 
> (line: 2314)
> Windows.pm:set_scheduled_task_credentials|3509| (-2) Windows.pm, post_load 
> (line: 927)
> Windows.pm:set_scheduled_task_credentials|3509| (-3) Version_6.pm, post_load 
> (line: 191)
> Windows.pm:set_scheduled_task_credentials|3509| (-4) VMware.pm, load (line: 
> 759)
> Windows.pm:set_scheduled_task_credentials|3509| (-5) new.pm, reload_image 
> (line: 588)
> Windows.pm:set_scheduled_task_credentials|3509| (-6) new.pm, process (line: 
> 275)
> Windows.pm:set_scheduled_task_credentials|3509| (-7) vcld, make_new_child 
> (line: 601)
> Windows.pm:set_scheduled_task_credentials|3509| (-8) vcld, main (line: 353)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to