SMB Fun on Samba 4 server with Bizhub C308

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jools
    Junior Member
    • Dec 2020
    • 4

    [Misc] SMB Fun on Samba 4 server with Bizhub C308

    Hi All,

    I've been having an entertaining time trying to get a KM C309 to save to a Samba share on an Ubuntu 20 LTS server running Samba 4.11.6. The share has been set up with a user specific to the copier and the permissions set to give it full control. In order to test the permissions on the share, I have set up an account called Copier on the server, and have logged into on of the office PCs which allows me to create, edit and delete files in that share. If I then go to the copier, it goes through the motions of scanning before returning a server connection error.

    To summarise the situation, I have checked the following:

    Copier end:

    The default domain name is correct

    The IP address of the DNS server is the Samba DC

    WINS is enabled and the IP of the DC is entered

    The setup has been tried with both IP address and hostname with the hostname in lower and upper case

    The username and password are both correct for the account (copied and pasted from Notepad into the copier and AD Users interface)

    Both NTLMv1 and V2 are enabled as well as SMB1/2


    Server end:

    The ports listed in Microsoft's SMB networking documentation are all open

    The desktop PCs can all access the samba share and have read/write access, they can access AD shared printers

    The smb.conf file contains a valid users entry that includes both the Copier user and its group.

    Wins is enabled in SMB.conf

    There are no mentions in the firewall log of packets being dropped, nor connection errors relating to the copier.


    So, my question is, are there any freaky ports that I'm unaware of or a more detailed error log on the copier that I can access to try and determine where it's going pear shaped?

    Thanks in advance,

    Jools
  • Synthohol
    Certified Konica Expert

    Site Contributor
    5,000+ Posts
    • Mar 2016
    • 5456

    #2
    Re: SMB Fun on Samba 4 server with Bizhub C308

    enable error code display if it isnt already and please post the error code from the job details in the job list.
    We know a thing or two because we've seen a thing or two.
    The medication helps though...

    Comment

    • EarthKmTech
      Step aside, noob

      1,000+ Posts
      • May 2009
      • 2142

      #3
      Re: SMB Fun on Samba 4 server with Bizhub C308

      what firmware is on the c308? if it’s a really old one there was a bug in the very early firmware in relation to smb. ie typing in the path didnt work, you had to browse to it at thr panel and save it that way.

      also, is there any spaces in the path? try to have folder names without spaces for best results.

      Comment

      • Jools
        Junior Member
        • Dec 2020
        • 4

        #4
        Re: SMB Fun on Samba 4 server with Bizhub C308

        Originally posted by Synthohol
        enable error code display if it isnt already and please post the error code from the job details in the job list.

        Hiya,

        It came back with error code 107

        Comment

        • Synthohol
          Certified Konica Expert

          Site Contributor
          5,000+ Posts
          • Mar 2016
          • 5456

          #5
          Re: SMB Fun on Samba 4 server with Bizhub C308

          I think that has something to do with having the domain name slash username in authentication.
          I'll see what I can find.
          We know a thing or two because we've seen a thing or two.
          The medication helps though...

          Comment

          • Jools
            Junior Member
            • Dec 2020
            • 4

            #6
            Re: SMB Fun on Samba 4 server with Bizhub C308

            Originally posted by Synthohol
            I think that has something to do with having the domain name slash username in authentication.
            I'll see what I can find.
            Thanks for that. I did after try putting the domain name into the box on the samba setup screen and only the username in the username box but it didn't seem to make any difference. I have wondered if it's a bug in that version of Samba on the server but as yet, Ubuntu haven't issued an update.

            Comment

            • Synthohol
              Certified Konica Expert

              Site Contributor
              5,000+ Posts
              • Mar 2016
              • 5456

              #7
              Re: SMB Fun on Samba 4 server with Bizhub C308

              Error
              Server Connection Error Code: 107 when scanning to SMB.

              Root Causes

              1. The SMB port is not permitted through the firewall
              2. "File and Printer Sharing" is disabled
              3. The IP Address for the address book is incorrect
              We know a thing or two because we've seen a thing or two.
              The medication helps though...

              Comment

              • Jools
                Junior Member
                • Dec 2020
                • 4

                #8
                Re: SMB Fun on Samba 4 server with Bizhub C308

                Hiya,

                I disabled the firewall and checked the IP and credentials and they all check out. I suspect I may hitting the Samba maillist on this one. The odd thing is that even with logging set to debug level on the server, it doesn't mention the copier in the logs.

                Comment

                Working...