• Frustrating Day

    From Jeff Gaines@21:1/5 to All on Tue Nov 22 17:32:57 2022
    I have had a frustrating day trying to get SMB working so I can share my newly added drive. Most of the instructions I have found say "right click on the drive/directory and select sharing", that option isn't available in any of the file managers I have.
    I followed though some very clear instructions I found, I think to the letter, but I still can't see the share from this Ubuntu laptop.
    I will have another go tomorrow but is there any simple diagnostic I can run that will show whether I have set up samba properly?

    I also tried to set up VNC for screen sharing, but that will have to wait as well :-(

    --
    Jeff Gaines
    Dorset, UK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Jeff Gaines on Tue Nov 22 20:11:05 2022
    Jeff Gaines wrote:

    I have had a frustrating day trying to get SMB working so I can share my newly added drive. Most of the instructions I have found say "right click on the drive/directory and select sharing", that option isn't available in any of the file managers I
    have.
    I followed though some very clear instructions I found, I think to the letter, but I still can't see the share from this Ubuntu laptop.
    I will have another go tomorrow but is there any simple diagnostic I can run that will show whether I have set up samba properly?

    It's basically down to one text config file /etc/samba/smb.conf for my distro (fedora)


    [global]
    workgroup = SAMBA
    security = user
    passdb backend = tdbsam
    printing = cups
    printcap name = cups
    load printers = yes
    cups options = raw

    [homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes

    [printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @printadmin root
    force group = @printadmin
    create mask = 0664

    [mybigshare]
    comment = Big Share Directory
    path = /mnt/samba/bigshare
    read only = no
    guest only = no
    guest ok = no
    share modes = yes
    directory mask = 0775

    Adjust share name and path to suit yourself, add more sections if you want different share for differnt stuff, probably need to use a command line utility to add user+pass to the tdbsam file, I suspect the "share modes=yes" line is a mistake as the daemon whines about it, make sure your firewall allows the relevant UDP/TCP ports in.

    That's it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to Andy Burns on Wed Nov 23 10:51:37 2022
    On 22/11/2022 20:11, Andy Burns wrote:
    Jeff Gaines wrote:

    I have had a frustrating day trying to get SMB working so I can share
    my newly added drive. Most of the instructions I have found say "right
    click on the drive/directory and select sharing", that option isn't
    available in any of the file managers I have.
    I followed though some very clear instructions I found, I think to the
    letter, but I still can't see the share from this Ubuntu laptop.
    I will have another go tomorrow but is there any simple diagnostic I
    can run that will show whether I have set up samba properly?

    It's basically down to one text config file /etc/samba/smb.conf for my
    distro (fedora)

    That's it.

    Many thanks for your time and patience Andy :-)

    That is it indeed, typos on my part but it's done and I can access the
    share on my Z620 from the Linux laptop and the Windows desktop!

    Much appreciated :-)

    --
    Jeff Gaines
    Dorset, UK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)