Announcement

Collapse
No announcement yet.

Samba issue

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Samba issue

    Hi!
    I recently installed Kubuntu 22.04.1, previously I had Linux Mint 20 with Kde Plasma 5, but I wanted to try and test the new Kubuntu.
    Everything is going great, except sharing folders using Samba.

    I have done the same that I did with Mint, but it isn´t working. The Windows machines can "see" and access the resources shared from the Kubuntu machine, but not in the other way. I can see the Windows machines in the WorkGroup from Kubuntu, but when I try to access to them the system says that "the file or directory smb:xxxxx doesn´t exist", and the same when I use the Ip's of the Windows machines.

    I appreciate any help.

    Thanks a lot.
    Last edited by Snowhog; Nov 02, 2022, 10:07 AM.

    #2
    Maybe see https://www.kubuntuforums.net/forum/...samba-problems
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Thank you Snowhog.
      I've seen the post and I think my problem is different. I could "see" windows machines since the samba was installed, the problem is not the access from these machines, but the access from Kubuntu to Windows Pc's. Every time I try to access to the machines in the workgroup from my Kubuntu machine, system replies that there's no file or directory.

      Comment


        #4
        So. specifically, post #6 of the thread I linked isn't the issue for you; your settings are the same?
        Last edited by Snowhog; Nov 02, 2022, 01:06 PM.
        Using Kubuntu Linux since March 23, 2007
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Yes, I used same parameters.

          Comment


            #6
            While not an answer, you could check out https://apps.kde.org/smb4k/

            It's in the standard repositories, so you can install it via sudo apt install smb4k from the CLI.
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Thank you very much Snowhog.

              Comment


                #8
                Kind if sounds like the issue is a Windows setting, but that wouldn't make sense if it worked as-is with Mint.

                You should attache your smb.conf and the one from your Mint install if you still have it.
                Last edited by oshunluvr; Nov 02, 2022, 12:04 PM.

                Please Read Me

                Comment


                  #9
                  Hi oshunluvr.
                  Thanks for the answer. I have not the smb.conf of Mint, because I had to reinstall due to a hard disk failure. I disabled antivirus and firewall in windows machines, but the result was the same, and there is no other change since Samba was working on Mint.
                  Here's my current smb.conf:
                  [global]
                  workgroup = NEWBIT
                  netbios name = BOX
                  ntlm auth=yes
                  wins support = yes
                  local master = yes
                  preferred master = yes
                  NTML = yes
                  min protocol = NT1
                  max protocol = SMB2_02
                  server string = %h server (Samba, Ubuntu)
                  client min protocol = NT1
                  server min protocol = NT1
                  log file = /var/log/samba/log.%m
                  max log size = 1000
                  logging = file
                  panic action = /usr/share/samba/panic-action %d
                  server role = standalone server
                  obey pam restrictions = yes
                  unix password sync = yes
                  passwd program = /usr/bin/passwd %u
                  passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
                  pam password change = yes
                  map to guest = bad user
                  usershare allow guests = yes
                  [printers]
                  comment = All Printers
                  browseable = no
                  path = /var/spool/samba
                  printable = yes
                  guest ok = no
                  read only = yes
                  create mask = 0700
                  [print$]
                  comment = Printer Drivers
                  path = /var/lib/samba/printers
                  browseable = yes
                  read only = yes
                  guest ok = no
                  [publico]
                  comment = SOLO LECTURA
                  path = /home/jose
                  browseable = yes
                  guest ok = yes
                  read only = yes

                  [escritura]
                  path=/home/jose/Escritorio
                  comment = ESCRITORIO
                  browseable = yes
                  guest ok = no
                  writeable = yes
                  valid users = @samba

                  Comment

                  Working...
                  X