I'm trying to access a file share from a Windows 10 Home using a Samba client. However the following errors happen ...
1# - smbclient
[root@eduardo-nb eduardo]# smbclient -L 192.168.0.5 -W WORKGROUP -U eduardo
Enter WORKGROUP\eduardo's password:
session setup failed: NT_STATUS_LOGON_FAILURE2# - Dolphin
NOTE: The only way to gain access to the share is by following the procedures described here ...
... which consist of allowing access to "Everyone" and "Turn off password protected sharing".
QUESTION: I would like to access this share with my existing Windows 10 Home user (has administrative prerogatives)... So what may be happening?
Thanks! =D
[Refs.: , , ,
UPDATE I: My /etc/samba/smb.conf ...
@harrymc
[global] workgroup = WORKGROUP server string = Samba Server allow insecure wide links = yes printcap name = /etc/printcap load printers = yes log file = /var/log/samba/%m.log max log size = 50 security = user dns proxy = no
[homes] comment = Home Directories browseable = no writable = yes
[printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes
[eduardo] follow symlinks = yes wide links = yes comment = Manjaro Linux Samba share path = /home/eduardo available = yes valid users = eduardo read only = no browseable = yes public = no writeable = yes 24 1 Answer
THE REAL PROBLEM:
As you can see in this image...
...my user "eduardo" is actually "alldocube"... As seen in the print above the way the user "eduardo" ("alldocube") is in the system caused a huge confusion! Actually I couldn't understand how it happened...
SOLUTION:
So the only thing that needs to be done is to share (Properties > Sharing) drive "D" for the user "alldocube" (in my case) and give permissions (Properties > Security) on drive "D" for the user "alldocube".
To access the sharing using Linux open the file browser (Dolphin in my case) and in the path field enter smb://WORKGROUP\<YOUR_USER>@<SERVER_IP>/<SHARE_NAME> (smb://WORKGROUP\alldocube@192.168.0.5/D in my case).
[Ref.: ]
Thanks! =D