I want make two Samba share for two users. I use this way but i cant connect to the share. I set password too for pi with "smbpasswd -a ". I enter username as 'pi' and password but it is not connect.
edit:
I followed the steps in the link. But when I try to connect, it returns to the password entry screen again. It is not logging in. I didn't do anything other than that.
-
You should provide more details than 'i cant connect'.RalfFriedl– RalfFriedl2019年01月26日 14:59:40 +00:00Commented Jan 26, 2019 at 14:59
-
I followed the steps in the link. But when I try to connect, it returns to the password entry screen again. He's not logging in. I didn't do anything other than that.little_coder– little_coder2019年01月26日 15:12:24 +00:00Commented Jan 26, 2019 at 15:12
-
Do you see any hints in the log files?RalfFriedl– RalfFriedl2019年01月26日 15:14:00 +00:00Commented Jan 26, 2019 at 15:14
-
what are you trying to connect with? another pi? a windows PC? a Mac? a mobile device?Jaromanda X– Jaromanda X2019年01月27日 00:05:03 +00:00Commented Jan 27, 2019 at 0:05
-
Sorry for late response. @JaromandaX: I connect from Ubuntu pc. RalfFriedl I cant see anything in /var/log/samba/ log files. I try with Nautilus but it says "There is file Cannot connect Windows share"little_coder– little_coder2019年01月31日 20:10:58 +00:00Commented Jan 31, 2019 at 20:10
1 Answer 1
From your description, it seems you've set up the smbpasswd
incorrectly. Enter the command exactly as shown below:
smbpasswd -a pi
You should then be prompted to enter a password for user pi
. Type in this password at the prompt, and hit the Enter
key.
I would use the same password you currently use to log in to your RPi (contrary to the advice given in the tutorial). Also, sometimes it helps to read another tutorial; you could try this one.