我有一个SMB服务器,我正在尝试将其Ip摄像机与其连接

时间:2019-10-18 17:06:32

标签: samba smb ip-camera

我已经设置了SMB服务器,否则它可以很好地工作。相机的主机名是\ iversen \ cam,我已经测试了它是否可以与Windows pc等一起使用。即使在我的Mac上也可以使用。我将发送smb.conf文件,希望有人可以看到问题所在。

我一直在尝试更改工作组,结交新用户,检查权限。不知道我还能尝试什么

我没有从相机收到“测试失败”以外的其他消息


   workgroup = TEST
   server string = Velkommen
   netbios name = iversen
   wins support = yes
   dns proxy = no

;   name resolve order = lmhots host wins bcast

;  interfaces = 192.168.0.1/24 eth0
;   bind interfaces only = yes


   log file = /var/log/samba/log.%m
   max log size = 1000
debug level = 2
log file = /var/log/samba/%m.log
max log size = 1024
   syslog = 0

   panic action = /usr/share/samba/panic-action %d


   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   pam password change = yes
   map to guest = bad user

   usershare allow guests = yes

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

[delt]
    writeable = yes
    path = /mnt/usb/share
    comment = Fileserver
    guest account = pi
    wide links = no
    security = user
[cam]
writeable = yes
path = /mnt/usb/cam
security = user
guest account = cam

0 个答案:

没有答案