Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21440

Error copying files to Linux samba share

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We have a dedicated Linux server, where we store all builds of our software. The Linux server is running the current samba version. Samba is configured with 'security=user' and the shares are read/write for guest, so no authentication is required.
      If I add a new CIFS Share, leave username and password blank and test the configuration, I get the following error message:

      Cannot read share (or directory on share)
      jenkins.plugins.publish_over.BapPublisherException: Exception when testing config. URL [smb://...], Message: [Logon failure: unknown user name or password.]

      This message also occurs if I use the plugin as post build step.

      So currently we can't use this plugin in our build environment.

      I had a quick look in the source code and maybe there is a problem in the createSmbFile(final String url) function in CifsClient.java because I don't know, if 'auth' can ever be null and therefore the else path can never be reached.

        Attachments

          Activity

          merciless Michael Rau created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 153306 ] JNJira + In-Review [ 178489 ]
          slide_o_mix Alex Earl made changes -
          Assignee Alex Earl [ slide_o_mix ]
          Hide
          slide_o_mix Alex Earl added a comment -

          I'm unable to reproduce this. Please reopen if it is still an issue

          Show
          slide_o_mix Alex Earl added a comment - I'm unable to reproduce this. Please reopen if it is still an issue
          slide_o_mix Alex Earl made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            merciless Michael Rau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: