You are not logged in.
Hey everyone,
on my new HTPC with GNOME + Nemo I wanted to share my 2nd HDD to my local network with samba.
1. I right click the drive "/mnt/Files/" in Nemo -> Share -> Share this folder + Allow others to create/delete + Guest access
2. Then from my laptop trying to connect to "MYGROUP" via Nemo: Unable to mount location - Failed to retrieve share list from server: Success
My laptop can connect fine via SMB to e.g. an external drive that is connected + shared via my Router.
testparm:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = Samba Server
workgroup = MYGROUP
log file = /usr/local/samba/var/log.%m
max log size = 50
usershare allow guests = Yes
usershare max shares = 100
usershare path = /var/lib/samba/usershare
min receivefile size = 16384
server multi channel support = Yes
server role = standalone server
deadtime = 30
socket options = IPTOS_THROUGHPUT SO_KEEPALIVE
dns proxy = No
idmap config * : backend = tdb
aio read size = 16384
aio write size = 16384
use sendfile = Yes
write cache size = 262144
[homes]
comment = Home Directories
browseable = No
read only = No
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = No
printable = YesOutput according to wiki (https://wiki.archlinux.org/index.php/sa … _to_guests) :
username@archlinux:~$ cd /var/lib/samba/usershare
username@archlinux:/var/lib/samba/usershare$ ls
files
username@archlinux:/var/lib/samba/usershare$ cat mysharedfiles
cat: mysharedfiles: No such file or directory
username@archlinux:/var/lib/samba/usershare$ cat files
#VERSION 2
path=/mnt/Files
comment=
usershare_acl=S-1-1-0:F
guest_ok=y
sharename=Files
username@archlinux:/var/lib/samba/usershare$ smbclient -L localhost
Enter MYGROUP\username's password:
Anonymous login successful
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server)
Canon-MX920 Printer Canon-MX920
Files Disk
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful
Server Comment
--------- -------
Workgroup Master
--------- -------
MYGROUP ARCHLINUX
WORKGROUP ROUTER
username@archlinux:/var/lib/samba/usershare$ smbclient -N //localhost/Files
Anonymous login successful
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Wed Oct 4 09:09:29 2017
.. D 0 Tue Oct 3 22:26:33 2017
lost+found D 0 Tue Oct 3 20:12:03 2017
Crypted D 0 Wed Oct 4 08:23:43 2017
Backups D 0 Wed Oct 4 08:22:49 2017
Setup-iso D 0 Wed Oct 4 08:28:32 2017
3844641608 blocks of size 1024. 999494312 blocks available
smb: \> exitSince my laptop can connect to other smb shared folder I guess it must be a server problem?
I can connect to the server via localhost but not with local network from my laptop though.
When trying to open "MYGROUP" in Nemo on my server/htpc then I get the same error (this should be a localhost connection but suddenly isnt working?).
Any suggestions?
Thanks !
Last edited by Utini (2017-10-04 09:47:30)
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
Alright, this is what I forgot:
smbpasswd -a samba_user
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline