this is not really a RevPi specific topic, but maybe somebody here could help me out anyways. I would like to create a samba share on my RevPi to transfer files between my Win10 laptop and, more importantly, edit python scripts lying on the RevPi from my Win10 machine using full-grown IDEs.
There are tons of tutorials on setting up samba on the Raspberry Pi and I tried out quite a few. I think the samba is up and running (connecting to the share with smbclient directly on the RevPi works), but I still cannot connect my Win10 laptop to it.
Here's my setup:
Win10 laptop connected to our enterprise network through the wifi card. RevPi Core3 connected to the laptop through an USB-Ethernet-Adapter. DHCP on the wifi card, static IP on both the USB-Ethernet and the RevPi.
The laptop is part of the enterprise domain, the RevPi is not. So when I try to mount a networkdrive, I connect to
Code: Select all
\\<IP_of_the_RevPi>\pi
After that I get a second password prompt but without the "domain: " in the lower part of the prompt, so I only give "pi" as the user and the same password as before. After clicking connect on the sceond password prompt, I get "Error: 0x80070035. Network path not found".
I don't think it has something to do with SMBv1, because I see the same behaviour using a Win7 laptop.
Here's my smb.conf:
Code: Select all
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = Samba Server
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 3
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server.
security = user
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
#======================= Share Definitions =======================
[pi]
path = /home/pi/
browseable = yes
writeable = yes
guest ok = no
create mask = 0777
directory mask = 0777