Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-331

Windows code does not handle special characters in Scheduled Task names when changing passwords

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • vcld (backend)
    • None

    Description

      Check Windows.pm::set_password() to see if the problem shown in the log output below is due to the special characters in the task name. Special characters may need to be escaped in the schtasks.exe call.

      2010-04-26 10:44:20|19812|2127:2121|new|utils.pm:run_ssh_command(6272)|SSH
      command executed on vmguest-25, command:

      19812 2127:2121 new /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x
      vmguest-25 'schtasks.exe /Change /RP "Si2GJL" /TN
      "User_Feed_Synchronization- {166B89A0-2CB2-4FF1-9D77-F86D0023D535}"' 2>&1
      |19812|2127:2121|new| returning (1, "ERROR: Unable to establish exi...")

      |19812|2127:2121|new| ---- WARNING ----
      |19812|2127:2121|new| 2010-04-26
      10:44:20|19812|2127:2121|new|Windows.pm:set_password(1698)|failed to change
      password for scheduled task:
      User_Feed_Synchronization-{166B89A0-2CB2-4FF1-9D77-F86D0023D535}

      , exit
      status: 1, output:

      19812 2127:2121 new ERROR: Unable to establish existence of the account
      specified.
      19812 2127:2121 new ( 0) utils.pm, notify (line: 737)
      19812 2127:2121 new (-1) Windows.pm, set_password (line: 1698)
      19812 2127:2121 new (-2) Windows.pm, post_load (line: 558)
      19812 2127:2121 new (-3) new.pm, reload_image (line: 692)
      19812 2127:2121 new (-4) new.pm, process (line: 266)
      19812 2127:2121 new (-5) vcld, make_new_child (line: 594)
      19812 2127:2121 new (-6) vcld, main (line: 341)

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: