
Wheezyを引き続き使用しているときは、問題なくLANでSamba共有にアクセスできました。ただし、Jessieにアップデートすると、WindowsとAndroidの携帯電話の両方に次のメッセージが表示されます。 SmbAuthException: Login failed
私はまだ以前と同じsmb.confを使用しています。
[global]
workgroup = HOME
netbios name =myDrive
server string = BananaPi
security = user
disable spoolss = yes
log file = /var/log/samba/samba.log
syslog = 0
max log size = 100
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
use sendfile = yes
aio read size = 16384
aio write size = 16384
deadtime = 30
guest account = root
[myDrive]
path = /media
read only = no
available = yes
browseable = yes
writable = yes
guest ok = yes
public = yes
ログは非常に空です。
[2015/10/12 15:47:00.759016, 0] ../source3/lib/util_sock.c:446(open_socket_in)
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
[2015/10/12 15:47:00.761053, 0] ../source3/lib/util_sock.c:446(open_socket_in)
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
[2015/10/12 15:47:00.761454, 0] ../source3/lib/util_sock.c:446(open_socket_in)
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
[2015/10/12 15:47:00.763518, 0] ../lib/util/become_daemon.c:136(daemon_ready)
[2015/10/12 15:47:02.325451, 0] ../lib/util/become_daemon.c:136(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsopen_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available
STATUS=daemon 'nmbd' finished starting up and ready to serve connections*****
Samba name server MYDRIVE is now a local master browser for workgroup HOME on subnet 192.168.1.70
*****
ネットワークからアクセスするにはパスワードが必要かどうかを知っていますが、今はLANアクセスが再び機能し、WANに集中します。
「root」パスワードを使用してログインしようとしましたが、うまくいかないようです。
答え1
security = user
security = share
共有で有効なユーザーを有効、設定、または指定します。valid users = root
force user = root
私は個人的にforce user =
私の共有へのアクセスを妨げるSMBセキュリティの変更にうんざりしているので、私を共有に使用します。部分的には、Windowsクライアントのアクセスと認証が不都合なためです。