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.

          [JENKINS-21440] Error copying files to Linux samba share

          Michael Rau created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153306 ] New: JNJira + In-Review [ 178489 ]
          Alex Earl made changes -
          Assignee New: Alex Earl [ slide_o_mix ]
          Alex Earl made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: