Hi I'm trying to resolve this issue.
I have LMDE5 installed on computer on my network, and a few LM20.3's and some win10's
My LMDE5 connect to the LM20.3 Shared folders on different computer with no issues, but not the other way..
LM20.3 does not want to authenticate on LMDE5
Win10 machines can also not connect to LMDE5 for same reason.
I can ping both ways no problem..
All the machines are connected on the same LAN.
I want to be able to connect from and to the LMDE5 machine from both LM20.3 and Win10 Machines
Any hesitance will be greatly appreciated
SOLVED LM20.3 unable to connect to LMDE5 shared folder
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
SOLVED LM20.3 unable to connect to LMDE5 shared folder
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: LM20.3 unable to connect to LMDE5 shared folder
From your Mint box post the output of the following commands please:
Code: Select all
testparm -s
Code: Select all
net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: LM20.3 unable to connect to LMDE5 shared folder
This is my LM 20.3 box that cannot connect to then LMDE5
johann@HP-ZBookLM:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "syslog" option is deprecated
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
# Global parameters
[global]
dns proxy = No
log file = /var/log/samba/log.%m
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
security = USER
server role = standalone server
server string = %h server (Samba, Ubuntu)
syslog = 0
unix password sync = Yes
username map = /etc/samba/smbusers
usershare allow guests = Yes
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[Documents]
comment = Documents
path = /home/johann/Documents
read only = No
valid users = johann
[New Volume]
comment = 3TB_usb
path = /media/johann/New Volume
read only = No
valid users = johann
[LM_backup]
path = /media/johann/5cc5f95a-d080-4a9c-b353-f7a87a78f449
read only = No
valid users = johann
johann@HP-ZBookLM:~$ net usershare info --long
info_fn: file /var/lib/samba/usershares/1movies_series is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/backup_shared is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[1Movies]
path=/mnt/Media/Media/1Movies
comment=
usershare_acl=Everyone:F,
guest_ok=y
[Media]
path=/mnt/Media
comment=
usershare_acl=Everyone:F,
guest_ok=y
[MakaBoerboel]
path=/mnt/Data/Boerboel/Makarios Boerboels
comment=
usershare_acl=Everyone:F,
guest_ok=n
[Shared Folder]
path=/mnt/Data/Shared Folder
comment=
usershare_acl=Everyone:F,
guest_ok=y
[2Series]
path=/mnt/Media/Media/2Series
comment=
usershare_acl=Everyone:F,
guest_ok=y
info_fn: file /var/lib/samba/usershares/3tb_usb is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/card reader is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/shrd-zbooklm is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/videos is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/new volume is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[temp]
path=/home/johann/Desktop/temp
comment=
usershare_acl=Everyone:F,
guest_ok=y
info_fn: file /var/lib/samba/usershares/1extmovies is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/1mov_series is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[1 Afrikaanse reekse]
path=/mnt/Media/Media/1 Afrikaanse reekse
comment=
usershare_acl=Everyone:F,
guest_ok=n
**************************
Here is the same info from my LMDE5 box. it can connect to the above machine, but the above machine cannot connect to it..
And I need to be able to connect win10 box to this LMDE5
johann@elitebook:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
johann@elitebook:~$ net usershare info --long
[SharedLMDE5]
path=/home/johann/Documents/SharedLMDE5
comment=
usershare_acl=Everyone:F,
guest_ok=n
johann@elitebook:~$
johann@HP-ZBookLM:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "syslog" option is deprecated
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
# Global parameters
[global]
dns proxy = No
log file = /var/log/samba/log.%m
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
security = USER
server role = standalone server
server string = %h server (Samba, Ubuntu)
syslog = 0
unix password sync = Yes
username map = /etc/samba/smbusers
usershare allow guests = Yes
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[Documents]
comment = Documents
path = /home/johann/Documents
read only = No
valid users = johann
[New Volume]
comment = 3TB_usb
path = /media/johann/New Volume
read only = No
valid users = johann
[LM_backup]
path = /media/johann/5cc5f95a-d080-4a9c-b353-f7a87a78f449
read only = No
valid users = johann
johann@HP-ZBookLM:~$ net usershare info --long
info_fn: file /var/lib/samba/usershares/1movies_series is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/backup_shared is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[1Movies]
path=/mnt/Media/Media/1Movies
comment=
usershare_acl=Everyone:F,
guest_ok=y
[Media]
path=/mnt/Media
comment=
usershare_acl=Everyone:F,
guest_ok=y
[MakaBoerboel]
path=/mnt/Data/Boerboel/Makarios Boerboels
comment=
usershare_acl=Everyone:F,
guest_ok=n
[Shared Folder]
path=/mnt/Data/Shared Folder
comment=
usershare_acl=Everyone:F,
guest_ok=y
[2Series]
path=/mnt/Media/Media/2Series
comment=
usershare_acl=Everyone:F,
guest_ok=y
info_fn: file /var/lib/samba/usershares/3tb_usb is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/card reader is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/shrd-zbooklm is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/videos is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/new volume is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[temp]
path=/home/johann/Desktop/temp
comment=
usershare_acl=Everyone:F,
guest_ok=y
info_fn: file /var/lib/samba/usershares/1extmovies is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/1mov_series is not a well formed usershare file.
info_fn: Error was Path is not a directory.
[1 Afrikaanse reekse]
path=/mnt/Media/Media/1 Afrikaanse reekse
comment=
usershare_acl=Everyone:F,
guest_ok=n
**************************
Here is the same info from my LMDE5 box. it can connect to the above machine, but the above machine cannot connect to it..
And I need to be able to connect win10 box to this LMDE5
johann@elitebook:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
johann@elitebook:~$ net usershare info --long
[SharedLMDE5]
path=/home/johann/Documents/SharedLMDE5
comment=
usershare_acl=Everyone:F,
guest_ok=n
johann@elitebook:~$
Re: LM20.3 unable to connect to LMDE5 shared folder
You have two shares on the LMDE machine:
A classic samba share:
Did you add your users to the samba password database?
For example:
If you did can you access from your Win10 machine with a:
A classic samba share:
And a usershare:[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
Both of them require credentials to access.[SharedLMDE5]
path=/home/johann/Documents/SharedLMDE5
comment=
usershare_acl=Everyone:F,
guest_ok=n
Did you add your users to the samba password database?
For example:
Code: Select all
sudo smbpasswd -a johann
Code: Select all
\\elitebook.local\johann
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: LM20.3 unable to connect to LMDE5 shared folder
You have two shares on the LMDE machine:
A classic samba share:
Did you add your users to the samba password database?
For example:
If you did can you access from your Win10 machine with a:
Or the other one with a:
A classic samba share:
And a usershare:[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
Both of them require credentials to access.[SharedLMDE5]
path=/home/johann/Documents/SharedLMDE5
comment=
usershare_acl=Everyone:F,
guest_ok=n
Did you add your users to the samba password database?
For example:
Code: Select all
sudo smbpasswd -a johann
Code: Select all
\\elitebook.local\johann
Code: Select all
\\elitebook.local\SharedLMDE5
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: LM20.3 unable to connect to LMDE5 shared folder
Thanx a mil.
I have not done the password bit..
I tend to work mainly with the gui when setting up my sheres, ...where will one set the samba password from nemo?
I have not done the password bit..
I tend to work mainly with the gui when setting up my sheres, ...where will one set the samba password from nemo?
Re: LM20.3 unable to connect to LMDE5 shared folder
You can't set the password in Nemo.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: LM20.3 unable to connect to LMDE5 shared folder
So to sum up, If I wanted to use Nemo,
One need to install Samba,
Then set the shared folders, with Nemo
Then set the users to be a member of the sambashare group, with Nemo
Ans lastly in terminal, give the user a samba password with the command: sudo smbpasswd -a johann( or whatever username)...
Where would one find more documentation on the rules of browsing like this: \\elitebook.local\SharedLMDE5
Thanx a mil, Yes my issue has been resolved.
One need to install Samba,
Then set the shared folders, with Nemo
Then set the users to be a member of the sambashare group, with Nemo
Ans lastly in terminal, give the user a samba password with the command: sudo smbpasswd -a johann( or whatever username)...
Where would one find more documentation on the rules of browsing like this: \\elitebook.local\SharedLMDE5
Thanx a mil, Yes my issue has been resolved.