Author Topic: Log in requested for samba shares in Peppermint  (Read 1989 times)

0 Members and 1 Guest are viewing this topic.

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 963
  • Karma: 14
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Log in requested for samba shares in Peppermint
« on: September 15, 2021, 11:37:15 am »
Hi something strange.

Set up shares on my peppermint laptop with anyone can access.

Can see the shares from my mint 19.3 desktop but when I try to access from the desktop a password is requested.

I tried entering the user name and password for the laptop and for the desktop but can not login.

In the other direction on problems accessing shares on the mint system from peppermint.

Any suggestions would be welcome.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Log in requested for samba shares in Peppermint
« Reply #1 on: September 15, 2021, 01:07:49 pm »
Hi Tramlink.

It's been too many years since I did this for me to be able to assist, but it might help other Members to offer advice if you can tell us which sharing system you are using.  e.g. Samba (good for Windows-Linux) or NFS (best for Linux-Linux). 
This might help some people: https://www.wikihow.com/Share-Files-Between-Linux-Computers-Using-NFS

Keith

The Linux Community Forum

Re: Log in requested for samba shares in Peppermint
« Reply #1 on: September 15, 2021, 01:07:49 pm »

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 963
  • Karma: 14
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: Log in requested for samba shares in Peppermint
« Reply #2 on: September 21, 2021, 01:50:02 pm »
Hi to all

Because there is a windows laptop on the LAN I use samba to share files on all computers on the LAN.

Also noticed that if I try to open the network shares on the peppermint laptop it asks for a password and the user name and password for the computer is rejected.


Offline Rich J

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 588
  • Karma: 9
  • Gender: Male
  • Still a Linux Luvvie!
    • View Profile
    • Awards
Re: Log in requested for samba shares in Peppermint
« Reply #3 on: September 21, 2021, 08:42:49 pm »
Hi to all

Because there is a windows laptop on the LAN I use samba to share files on all computers on the LAN.

Also noticed that if I try to open the network shares on the peppermint laptop it asks for a password and the user name and password for the computer is rejected.

Hi - I've never used Samba so can't comment on it - however - reading this

https://www.techrepublic.com/article/how-to-set-up-quick-and-easy-file-sharing-with-samba/

prompts the thought......  is it the 'Samba' password that is required, rather than the computer username/password etc? Particularly the section about 'Adding password-secured shares'?  As I say, just a thought and ignore if it's off beam.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1865
  • Karma: 145
  • Gender: Male
    • View Profile
    • Awards
Re: Log in requested for samba shares in Peppermint
« Reply #4 on: September 21, 2021, 08:48:27 pm »
If I remember right, with newer Samba, it will not allow anonymous public share
Try adding to your smb.conf
Code: [Select]
[global]
    map to guest = Bad User
    log file = /var/log/samba/%m
    log level = 1

Code: [Select]
[your share]
    # This share allows anonymous (guest) access
    # without authentication!
    read only = no
    guest ok = yes
    force user = nobody

The Linux Community Forum

Re: Log in requested for samba shares in Peppermint
« Reply #4 on: September 21, 2021, 08:48:27 pm »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal